Fix nondeterministic test error (checking for the wrong error case).
This commit is contained in:
parent
6c9b9a53b5
commit
741ed52436
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue