|
|
@ -295,7 +295,7 @@ public: |
|
|
|
* CWallet::BuildWitnessCache and CWallet::DecrementNoteWitnesses. |
|
|
|
*/ |
|
|
|
|
|
|
|
SaplingNoteData() : witnessHeight {-1}, nullifier(), spentHeight() { } |
|
|
|
SaplingNoteData() : witnessHeight {-1}, nullifier(), spentHeight(-1) { } |
|
|
|
SaplingNoteData(libzcash::SaplingIncomingViewingKey ivk) : ivk {ivk}, witnessHeight {-1}, nullifier() { } |
|
|
|
SaplingNoteData(libzcash::SaplingIncomingViewingKey ivk, uint256 n) : ivk {ivk}, witnessHeight {-1}, nullifier(n) { } |
|
|
|
|
|
|
@ -327,7 +327,7 @@ public: |
|
|
|
* witnesses will continue to be updated, which is only a performance |
|
|
|
* rather than a correctness issue). |
|
|
|
*/ |
|
|
|
std::optional<int> spentHeight; |
|
|
|
int spentHeight; |
|
|
|
|
|
|
|
ADD_SERIALIZE_METHODS; |
|
|
|
|
|
|
|