File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ mod ffi {
129129 /// wallet connect cronos(eth) eip155-tx signing info
130130 #[ derive( Debug , Default ) ]
131131 pub struct WalletConnectTxEip155 {
132- pub from : String , // hexstring, "0x..."
132+ pub from : String , // hexstring, "0x..."
133133 pub to : String , // hexstring, "0x..."
134134 pub value : String , // decimal string, in wei units
135135 pub data : Vec < u8 > , // data, as bytes
Original file line number Diff line number Diff line change @@ -300,7 +300,8 @@ impl Walletconnect2Client {
300300
301301 let mut tx = Eip1559TransactionRequest :: new ( ) ;
302302
303- if !userinfo. from . is_empty ( ) { // from address is necessary for wc.20 , metamask
303+ if !userinfo. from . is_empty ( ) {
304+ // from address is necessary for wc.20 , metamask
304305 tx = tx. from ( Address :: from_str ( & userinfo. from ) ?) ;
305306 }
306307
You can’t perform that action at this time.
0 commit comments