refactor: Allow for no chain update
This commit is contained in:
1 parent
68572bfd2e
commit
f42f8b8ff1
2 files changed
+9
-5
No files matched your search
@@ -64,10 +64,10 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let wallet_update = WalletUpdate {
|
||||
last_active_indices: keychain_update,
|
||||
graph: graph_update,
|
||||
chain: local_chain::Update {
|
||||
chain: Some(local_chain::Update {
|
||||
tip: update_tip,
|
||||
introduce_older_blocks: true,
|
||||
},
|
||||
}),
|
||||
};
|
||||
wallet.apply_update(wallet_update)?;
|
||||
wallet.commit()?;
|
||||
|
||||
Reference in new issue
Block a user