Skip to content

Commit

Permalink
Bug fix for highest_index in output API. (#3200)
Browse files Browse the repository at this point in the history
cgilliard authored and hashmap committed Jan 21, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent da3b3b2 commit c15aedf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain/src/txhashset/txhashset.rs
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c15aedf

Please sign in to comment.