diff --git a/src/wallet/test/rpc_wallet_tests.cpp b/src/wallet/test/rpc_wallet_tests.cpp index 621d7314b..6707c065f 100644 --- a/src/wallet/test/rpc_wallet_tests.cpp +++ b/src/wallet/test/rpc_wallet_tests.cpp @@ -1837,7 +1837,7 @@ BOOST_AUTO_TEST_CASE(rpc_z_mergetoaddress_parameters) std::vector sproutNoteInputs = {MergeToAddressInputSproutNote{JSOutPoint(), SproutNote(), 0, SproutSpendingKey()}}; std::vector saplingNoteInputs = - {MergeToAddressInputSaplingNote{SaplingOutPoint(), SaplingNote(), 0, SaplingExpandedSpendingKey()}}; + {MergeToAddressInputSaplingNote{SaplingOutPoint(), SaplingNote({}, uint256(), 0, uint256()), 0, SaplingExpandedSpendingKey()}}; // Sprout and Sapling inputs -> throw try { diff --git a/src/zcash/Note.hpp b/src/zcash/Note.hpp index dee17bfe4..357e27e48 100644 --- a/src/zcash/Note.hpp +++ b/src/zcash/Note.hpp @@ -50,8 +50,6 @@ public: SaplingNote(diversifier_t d, uint256 pk_d, uint64_t value, uint256 r) : BaseNote(value), d(d), pk_d(pk_d), r(r) {} - SaplingNote() {}; - SaplingNote(const SaplingPaymentAddress &address, uint64_t value); virtual ~SaplingNote() {};