Fix the failing test!

This commit is contained in:
Jack Grigg 2016-09-01 13:00:02 +12:00
parent ac91ebbe92
commit 5abaca1af6
2 changed files with 4 additions and 0 deletions

View File

@ -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) {

View File

@ -131,6 +131,9 @@ class IncrementalWitness {
friend class IncrementalMerkleTree<Depth, Hash>;
public:
// Required for Unserialize()
IncrementalWitness() {}
MerklePath path() const {
return tree.path(partial_path());
}