Save wallet to disk at creation
This commit is contained in:
parent
56321d89df
commit
32916f1588
@ -385,6 +385,8 @@ async fn main() -> Result<()> {
|
||||
})
|
||||
.expect("Failed to initialize WALLET");
|
||||
|
||||
WALLET.get().unwrap().save().unwrap();
|
||||
|
||||
if last_scan < current_tip {
|
||||
log::info!("Scanning for our outputs");
|
||||
scan_blocks(current_tip - last_scan, &config.electrum_url)?;
|
||||
|
Loading…
x
Reference in New Issue
Block a user