@@ -368,8 +368,6 @@ impl ExchangeClient {
368368 amount : amount. to_string ( ) ,
369369 from_sub_account,
370370 nonce : timestamp,
371- payload_multi_sig_user : None ,
372- outer_signer : None ,
373371 } ;
374372
375373 let signature = sign_typed_data ( & send_asset, wallet) ?;
@@ -1206,8 +1204,6 @@ impl ExchangeClient {
12061204 amount : amount. to_string ( ) ,
12071205 from_sub_account : "" . to_string ( ) ,
12081206 nonce : timestamp,
1209- payload_multi_sig_user : Some ( format ! ( "{:#x}" , multi_sig_user) . to_lowercase ( ) ) ,
1210- outer_signer : Some ( format ! ( "{:#x}" , self . wallet. address( ) ) . to_lowercase ( ) ) ,
12111207 } ;
12121208
12131209 let signatures = sign_typed_data_multi_sig ( & send_asset, wallets) ?;
@@ -1249,8 +1245,6 @@ impl ExchangeClient {
12491245 amount : amount. to_string ( ) ,
12501246 from_sub_account : "" . to_string ( ) ,
12511247 nonce : timestamp,
1252- payload_multi_sig_user : Some ( format ! ( "{:#x}" , multi_sig_user) . to_lowercase ( ) ) ,
1253- outer_signer : Some ( format ! ( "{:#x}" , self . wallet. address( ) ) . to_lowercase ( ) ) ,
12541248 } ;
12551249
12561250 let signatures = sign_typed_data_multi_sig ( & send_asset, wallets) ?;
@@ -1299,8 +1293,6 @@ impl ExchangeClient {
12991293 /// amount: "100".to_string(),
13001294 /// from_sub_account: "".to_string(),
13011295 /// nonce: 123456789,
1302- /// payload_multi_sig_user: Some(format!("{:#x}", multi_sig_user).to_lowercase()),
1303- /// outer_signer: Some("0x...".to_lowercase()),
13041296 /// };
13051297 ///
13061298 /// let sig1 = sign_multi_sig_user_signed_action_single(&wallet1, &send_asset)?;
@@ -1340,8 +1332,6 @@ impl ExchangeClient {
13401332 amount : amount. to_string ( ) ,
13411333 from_sub_account : "" . to_string ( ) ,
13421334 nonce : timestamp,
1343- payload_multi_sig_user : Some ( format ! ( "{:#x}" , multi_sig_user) . to_lowercase ( ) ) ,
1344- outer_signer : Some ( format ! ( "{:#x}" , self . wallet. address( ) ) . to_lowercase ( ) ) ,
13451335 } ;
13461336
13471337 let mut action =
@@ -1391,8 +1381,6 @@ impl ExchangeClient {
13911381 amount : amount. to_string ( ) ,
13921382 from_sub_account : "" . to_string ( ) ,
13931383 nonce : timestamp,
1394- payload_multi_sig_user : Some ( format ! ( "{:#x}" , multi_sig_user) . to_lowercase ( ) ) ,
1395- outer_signer : Some ( format ! ( "{:#x}" , self . wallet. address( ) ) . to_lowercase ( ) ) ,
13961384 } ;
13971385
13981386 let mut action =
@@ -1659,8 +1647,6 @@ mod tests {
16591647 amount : "100" . to_string ( ) ,
16601648 from_sub_account : "" . to_string ( ) ,
16611649 nonce : 1583838 ,
1662- payload_multi_sig_user : None ,
1663- outer_signer : None ,
16641650 } ;
16651651
16661652 let mainnet_signature = sign_typed_data ( & mainnet_send, & wallet) ?;
@@ -1675,8 +1661,6 @@ mod tests {
16751661 amount : "50" . to_string ( ) ,
16761662 from_sub_account : "" . to_string ( ) ,
16771663 nonce : 1583838 ,
1678- payload_multi_sig_user : None ,
1679- outer_signer : None ,
16801664 } ;
16811665
16821666 let testnet_signature = sign_typed_data ( & testnet_send, & wallet) ?;
@@ -1692,8 +1676,6 @@ mod tests {
16921676 amount : "100" . to_string ( ) ,
16931677 from_sub_account : "0xabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd" . to_string ( ) ,
16941678 nonce : 1583838 ,
1695- payload_multi_sig_user : None ,
1696- outer_signer : None ,
16971679 } ;
16981680
16991681 let vault_signature = sign_typed_data ( & vault_send, & wallet) ?;
0 commit comments