Skip to content

Commit

Permalink
Fix Missing File Reload (#236)
Browse files Browse the repository at this point in the history
* fix network recovery

Signed-off-by: Charles Ferrell <charlie@manta.network>

* add to changelog

Signed-off-by: Charles Ferrell <charlie@manta.network>

Signed-off-by: Charles Ferrell <charlie@manta.network>
  • Loading branch information
ferrell-code committed Jan 11, 2023
1 parent 4a0cef8 commit c2210a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Removed

### Fixed
- [\#236](https://github.com/Manta-Network/manta-signer/pull/236) Fix missing file reload

### Security

Expand Down
6 changes: 3 additions & 3 deletions src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -336,15 +336,15 @@ where

let calamari_state = Self::create_or_load_state(
!data_exists.calamari,
&config.data_path.dolphin,
&config.data_path.calamari,
&password_hash,
recovery_mnemonic.clone(),
)
.await?;

let manta_state = Self::create_or_load_state(
!data_exists.calamari,
&config.data_path.dolphin,
!data_exists.manta,
&config.data_path.manta,
&password_hash,
recovery_mnemonic.clone(),
)
Expand Down

1 comment on commit c2210a7

@vercel
Copy link

@vercel vercel bot commented on c2210a7 Jan 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.