Bug fix for highest_index in output API. (#3200)

https://github.com/mimblewimble/grin/issues/3199
This commit is contained in:
cgilliard 2020-01-21 03:05:36 -07:00 committed by hashmap
parent da3b3b23c6
commit c15aedf190

View file

@ -298,7 +298,7 @@ impl TxHashSet {
/// highest output insertion index available
pub fn highest_output_insertion_index(&self) -> u64 {
pmmr::n_leaves(self.output_pmmr_h.last_pos)
self.output_pmmr_h.last_pos
}
/// As above, for rangeproofs