Skip to content

Commit 9de1fe6

Browse files
committed
Encode Osmosis swap receivers in compat mode
1 parent 9bc67df commit 9de1fe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/sdk/src/args.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ impl TxOsmosisSwap<SdkTypes> {
684684

685685
let (receiver, final_memo) = match recipient {
686686
Either::Left(transparent_recipient) => {
687-
(transparent_recipient.to_string(), None)
687+
(transparent_recipient.encode_compat(), None)
688688
}
689689
Either::Right(fut) => {
690690
let (payment_addr, overflow_receiver) = fut.await;
@@ -733,7 +733,7 @@ impl TxOsmosisSwap<SdkTypes> {
733733
.unwrap(),
734734
);
735735

736-
(MASP.to_string(), Some(memo))
736+
(MASP.encode_compat(), Some(memo))
737737
}
738738
};
739739

0 commit comments

Comments
 (0)