Remove bare SaplingNote constructor.
This commit is contained in:
parent
6581970d59
commit
1c2c6be872
|
@ -1837,7 +1837,7 @@ BOOST_AUTO_TEST_CASE(rpc_z_mergetoaddress_parameters)
|
|||
std::vector<MergeToAddressInputSproutNote> sproutNoteInputs =
|
||||
{MergeToAddressInputSproutNote{JSOutPoint(), SproutNote(), 0, SproutSpendingKey()}};
|
||||
std::vector<MergeToAddressInputSaplingNote> saplingNoteInputs =
|
||||
{MergeToAddressInputSaplingNote{SaplingOutPoint(), SaplingNote(), 0, SaplingExpandedSpendingKey()}};
|
||||
{MergeToAddressInputSaplingNote{SaplingOutPoint(), SaplingNote({}, uint256(), 0, uint256()), 0, SaplingExpandedSpendingKey()}};
|
||||
|
||||
// Sprout and Sapling inputs -> throw
|
||||
try {
|
||||
|
|
|
@ -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() {};
|
||||
|
|
Loading…
Reference in New Issue