Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mit-dci/utreexo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bd9e1741217deae16d85c4e713186657ada3d1e4
Choose a base ref
..
head repository: mit-dci/utreexo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2530e2ba8169e7482f08f1fe5f23b2c8240d6e34
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +2 −2 accumulator/pollardutil.go
4 changes: 2 additions & 2 deletions accumulator/pollardutil.go
Original file line number Diff line number Diff line change
@@ -76,8 +76,8 @@ func getSize(n *polNode) int64 {
if n == nil {
return 0
}
// hash (32), two pointers (16), and a bool (1)
return (getSize(n.niece[0]) + 32 + 16 + 1 + getSize(n.niece[1]))
// hash (32), two pointers (16), and a bool (8)
return (getSize(n.niece[0]) + 32 + 16 + 8 + getSize(n.niece[1]))
}

// polSwap swaps the contents of two polNodes & leaves pointers to them intact