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
if (!watchonly_batch->TxnBegin()) return util::Error{strprintf(_("Error: database transaction cannot be executed for wallet %s"), data.watchonly_wallet->GetName())};
4132
4133
// Copy the next tx order pos to the watchonly wallet
if (!solvables_batch->TxnBegin()) return util::Error{strprintf(_("Error: database transaction cannot be executed for wallet %s"), data.solvable_wallet->GetName())};
4142
4146
// Write the best block locator to avoid rescanning on reload
4143
-
if (!WalletBatch(data.solvable_wallet->GetDatabase()).WriteBestBlock(best_block_locator)) {
4147
+
if (!solvables_batch->WriteBestBlock(best_block_locator)) {
4144
4148
return util::Error{_("Error: Unable to write solvable wallet best block locator record")};
0 commit comments