@@ -960,8 +960,7 @@ mod tests {
960960 . expect ( "DashPay receiving path" ) ;
961961
962962 // Old route: resident-seed wallet from the same mnemonic.
963- let mnemonic =
964- Mnemonic :: from_phrase ( ENGLISH_PHRASE ) . expect ( "valid mnemonic" ) ;
963+ let mnemonic = Mnemonic :: from_phrase ( ENGLISH_PHRASE ) . expect ( "valid mnemonic" ) ;
965964 let seed = mnemonic. to_seed ( "" ) ;
966965 let wallet =
967966 Wallet :: from_seed_bytes ( seed, Network :: Testnet , WalletAccountCreationOptions :: None )
@@ -1012,8 +1011,7 @@ mod tests {
10121011
10131012 // Old route: resident-seed wallet from the same mnemonic → derive the
10141013 // scalar at `path` → ECDH through the single crypto source.
1015- let mnemonic =
1016- Mnemonic :: from_phrase ( ENGLISH_PHRASE ) . expect ( "valid mnemonic" ) ;
1014+ let mnemonic = Mnemonic :: from_phrase ( ENGLISH_PHRASE ) . expect ( "valid mnemonic" ) ;
10171015 let seed = mnemonic. to_seed ( "" ) ;
10181016 let wallet =
10191017 Wallet :: from_seed_bytes ( seed, Network :: Testnet , WalletAccountCreationOptions :: None )
@@ -1065,8 +1063,7 @@ mod tests {
10651063
10661064 // Old route: resident-seed wallet from the same mnemonic → derive the
10671065 // scalar at `path` → mask through the single accountReference source.
1068- let mnemonic =
1069- Mnemonic :: from_phrase ( ENGLISH_PHRASE ) . expect ( "valid mnemonic" ) ;
1066+ let mnemonic = Mnemonic :: from_phrase ( ENGLISH_PHRASE ) . expect ( "valid mnemonic" ) ;
10701067 let seed = mnemonic. to_seed ( "" ) ;
10711068 let wallet =
10721069 Wallet :: from_seed_bytes ( seed, Network :: Testnet , WalletAccountCreationOptions :: None )
@@ -1153,8 +1150,7 @@ mod tests {
11531150 ) ;
11541151
11551152 // Parity: encToUserId equals a resident wallet's derive+encrypt.
1156- let mnemonic =
1157- Mnemonic :: from_phrase ( ENGLISH_PHRASE ) . expect ( "valid mnemonic" ) ;
1153+ let mnemonic = Mnemonic :: from_phrase ( ENGLISH_PHRASE ) . expect ( "valid mnemonic" ) ;
11581154 let seed = mnemonic. to_seed ( "" ) ;
11591155 let wallet =
11601156 Wallet :: from_seed_bytes ( seed, Network :: Testnet , WalletAccountCreationOptions :: None )
0 commit comments