Skip to content

Commit

Permalink
fix (sdk-common): add missing character to bip21 uri (#1068)
Browse files Browse the repository at this point in the history
  • Loading branch information
hydra-yse authored Aug 8, 2024
1 parent 8e580da commit 68aa1d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/sdk-common/src/input_parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ impl BitcoinAddressData {
.map(|(key, value)| format!("{key}={value}"))
.collect::<Vec<String>>()
.join("&");
Ok(format!("{scheme}:{}{suffix_str}", self.address))
Ok(format!("{scheme}:{}?{suffix_str}", self.address))
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion libs/sdk-common/src/liquid/bip21.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ impl LiquidAddressData {
.collect::<Vec<String>>()
.join("&");

Ok(format!("{scheme}:{}{suffix_str}", self.address))
Ok(format!("{scheme}:{}?{suffix_str}", self.address))
}
}
}
Expand Down

0 comments on commit 68aa1d0

Please sign in to comment.