Fix the failing test!
This commit is contained in:
parent
ac91ebbe92
commit
5abaca1af6
|
@ -222,6 +222,7 @@ public:
|
|||
inline void SerializationOp(Stream& s, Operation ser_action, int nType, int nVersion) {
|
||||
READWRITE(address);
|
||||
READWRITE(nullifier);
|
||||
READWRITE(witnesses);
|
||||
}
|
||||
|
||||
friend bool operator<(const CNoteData& a, const CNoteData& b) {
|
||||
|
|
|
@ -131,6 +131,9 @@ class IncrementalWitness {
|
|||
friend class IncrementalMerkleTree<Depth, Hash>;
|
||||
|
||||
public:
|
||||
// Required for Unserialize()
|
||||
IncrementalWitness() {}
|
||||
|
||||
MerklePath path() const {
|
||||
return tree.path(partial_path());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue