You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But the value of that parameter is never read anywhere. In the start of wallet loop, the addresses are either fetched from the database, or if that is empty, from the hardware device:
log::warn!("Failed to request addresses from hardware device: {err}");
}
}
}else{
for addr in addresses {
self.watch.insert(addr.address);
}
}
Happy to open a PR if someone can point me into the right direction how that parameter was intended. If it's specified, should only those addresses be watched or do we still want to load the ones from the database?
The text was updated successfully, but these errors were encountered:
Happy to open a PR if someone can point me into the right direction how that parameter was intended. If it's specified, should only those addresses be watched or do we still want to load the ones from the database?
Right, so we had to put the address inside the db and then nakamoto will be able to load them. So I think we should insert the address passed by --addresses inside the db and then leave the code query the databases?
nakamoto-wallet
specifies a parameter--addresses
:nakamoto/wallet/src/main.rs
Lines 15 to 17 in 9ea71ed
But the value of that parameter is never read anywhere. In the start of wallet loop, the addresses are either fetched from the database, or if that is empty, from the hardware device:
nakamoto/wallet/src/wallet.rs
Lines 103 to 122 in 9ea71ed
Happy to open a PR if someone can point me into the right direction how that parameter was intended. If it's specified, should only those addresses be watched or do we still want to load the ones from the database?
The text was updated successfully, but these errors were encountered: