diff --git a/src/wallet/gtest/test_wallet.cpp b/src/wallet/gtest/test_wallet.cpp index d0c3fd997..87c8dee7c 100644 --- a/src/wallet/gtest/test_wallet.cpp +++ b/src/wallet/gtest/test_wallet.cpp @@ -832,7 +832,7 @@ TEST(WalletTests, GetConflictedOrchardNotes) { // Generate a bundle containing output note A. auto builder = TransactionBuilder(consensusParams, 1, orchardAnchor, &keystore); - builder.AddTransparentInput(COutPoint(), scriptPubKey, 50000); + builder.AddTransparentInput(COutPoint(uint256(), 0), scriptPubKey, 50000); builder.AddOrchardOutput(std::nullopt, recipient, 40000, {}); auto maybeTx = builder.Build(); EXPECT_TRUE(maybeTx.IsTx());