Skip to content

Commit 60ccc96

Browse files
committed
fix
1 parent 67241d3 commit 60ccc96

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/jormungandr/testing/thor/src/cli/config.rs

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

src/jormungandr/testing/thor/src/cli/wallet_controller.rs

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

0 commit comments

Comments
 (0)