Skip to content

Commit 6747e95

Browse files
committed
reformat
1 parent a12ba2c commit 6747e95

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

extra-cpp-bindings/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

extra-cpp-bindings/src/walletconnect2.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)