Fix nondeterministic test error (checking for the wrong error case).

This commit is contained in:
Kris Nuttycombe 2022-02-02 17:48:35 -07:00
parent 6c9b9a53b5
commit 741ed52436
1 changed files with 1 additions and 1 deletions

View File

@ -2224,7 +2224,7 @@ TEST(WalletTests, GenerateUnifiedAddress) {
} else {
// the previous generation attempt succeeded, so this one should definitely fail.
uaResult = wallet.GenerateUnifiedAddress(0, {ReceiverType::P2PKH, ReceiverType::Sapling});
expected = UnifiedAddressGenerationError::DiversifierSpaceExhausted;
expected = UnifiedAddressGenerationError::InvalidTransparentChildIndex;
EXPECT_EQ(uaResult, expected);
}