Bug fix for highest_index in output API. (#3200)
https://github.com/mimblewimble/grin/issues/3199
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user