Skip to content

Commit

Permalink
[Test] notes_double_spend: sync wallet before check balances.
Browse files Browse the repository at this point in the history
  • Loading branch information
furszy committed Feb 24, 2021
1 parent 1ed753f commit d97ace9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ void generateBlock(const CScript& scriptPubKey, int expectedBlockHeight)
CValidationState state;
BOOST_CHECK_MESSAGE(ProcessNewBlock(state, nullptr, pblock, nullptr), strprintf("Failed creating block at height %d", expectedBlockHeight));
BOOST_CHECK(state.IsValid());

// Let the wallet sync the blocks
SyncWithValidationInterfaceQueue();
}

SaplingOperation createOperationAndBuildTx(std::vector<SendManyRecipient> recipients,
Expand Down

0 comments on commit d97ace9

Please sign in to comment.