File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/jormungandr/testing/thor/src/cli Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ mod tests {
205205
206206 let encoded: Vec < u8 > = bincode:: serialize ( & secret_config) . unwrap ( ) ;
207207
208- let cocoon = Cocoon :: new ( b"password" ) ;
208+ let mut cocoon = Cocoon :: new ( b"password" ) ;
209209 let filename = "secret.key" ;
210210 {
211211 let mut file = File :: create ( filename) . unwrap ( ) ;
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ impl WalletController {
120120 data : Vec < bech32:: u5 > ,
121121 password : & str ,
122122 ) -> Result < ( ) , Error > {
123- let cocoon = Cocoon :: new ( password. as_bytes ( ) ) ;
123+ let mut cocoon = Cocoon :: new ( password. as_bytes ( ) ) ;
124124 let secret_file = self . config_manager . alias_secret_file ( & alias) ?;
125125 let mut file = File :: create ( & secret_file) ?;
126126
You can’t perform that action at this time.
0 commit comments