diff --git a/.changes/syncing.md b/.changes/syncing.md new file mode 100644 index 000000000..70a57bb07 --- /dev/null +++ b/.changes/syncing.md @@ -0,0 +1,6 @@ +--- +"nodejs-binding": patch +--- + +Start syncing from address index 0 by default; +Don't skip unconfirmed messages during syncing; diff --git a/src/account/sync/mod.rs b/src/account/sync/mod.rs index 6b5c9ea87..b8139c80b 100644 --- a/src/account/sync/mod.rs +++ b/src/account/sync/mod.rs @@ -1141,8 +1141,7 @@ impl AccountSynchronizer { }; Self { account_handle, - // by default we synchronize from the latest address (supposedly unspent) - address_index: latest_address_index, + address_index: 0, gap_limit: if latest_address_index == 0 { default_gap_limit } else {