WitnessAnchorData only needs to store one witness per JSOutPoint.

This commit is contained in:
Simon
2016-12-07 12:05:29 -08:00
parent 2d931e905b
commit 84e8c5f921
2 changed files with 5 additions and 8 deletions

View File

@@ -42,9 +42,9 @@ struct AsyncJoinSplitInfo
CAmount vpub_new = 0;
};
// A struct to help us track the witnesses and anchor for a given JSOutPoint
// A struct to help us track the witness and anchor for a given JSOutPoint
struct WitnessAnchorData {
std::vector<boost::optional<ZCIncrementalWitness>> witnesses;
boost::optional<ZCIncrementalWitness> witness;
uint256 anchor;
};