diff --git a/libs/sdk-common/src/input_parser.rs b/libs/sdk-common/src/input_parser.rs index 84061fc89..676279a8a 100644 --- a/libs/sdk-common/src/input_parser.rs +++ b/libs/sdk-common/src/input_parser.rs @@ -634,7 +634,7 @@ impl BitcoinAddressData { .map(|(key, value)| format!("{key}={value}")) .collect::>() .join("&"); - Ok(format!("{scheme}:{}{suffix_str}", self.address)) + Ok(format!("{scheme}:{}?{suffix_str}", self.address)) } } } diff --git a/libs/sdk-common/src/liquid/bip21.rs b/libs/sdk-common/src/liquid/bip21.rs index 2b5e1a603..9a509b11e 100644 --- a/libs/sdk-common/src/liquid/bip21.rs +++ b/libs/sdk-common/src/liquid/bip21.rs @@ -65,7 +65,7 @@ impl LiquidAddressData { .collect::>() .join("&"); - Ok(format!("{scheme}:{}{suffix_str}", self.address)) + Ok(format!("{scheme}:{}?{suffix_str}", self.address)) } } }