Skip to content

Commit

Permalink
wire: change GenerateUData to take in utreexo.Utreexo
Browse files Browse the repository at this point in the history
Mostly so it's more generic and isn't stuck with just utreexo.Pollard.
  • Loading branch information
kcalvinalvin committed Oct 18, 2023
1 parent 24014ad commit 87f43be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wire/udata.go
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ func DeserializeRemembers(r io.Reader) ([]uint32, error) {
// to get a batched inclusion proof from the accumulator. It then adds on the leaf data,
// to create a block proof which both proves inclusion and gives all utxo data
// needed for transaction verification.
func GenerateUData(txIns []LeafData, pollard *utreexo.Pollard) (
func GenerateUData(txIns []LeafData, pollard utreexo.Utreexo) (
*UData, error) {

ud := new(UData)
Expand Down

0 comments on commit 87f43be

Please sign in to comment.