Alter SaplingNote::nullifier() to take a SaplingFullViewingKey

This means the API will work if you only have a SaplingExtendedSpendingKey,
as will be the case with ZIP 32.
This commit is contained in:
Jack Grigg
2018-06-16 23:06:15 +12:00
parent a7a62b724b
commit 66a519f55d
3 changed files with 3 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ public:
virtual ~SaplingNote() {};
boost::optional<uint256> cm() const;
boost::optional<uint256> nullifier(const SaplingSpendingKey &sk, const uint64_t position) const;
boost::optional<uint256> nullifier(const SaplingFullViewingKey &vk, const uint64_t position) const;
};
class BaseNotePlaintext {