Skip to content

Commit

Permalink
chore(BU-296): fix checking pair transacton
Browse files Browse the repository at this point in the history
  • Loading branch information
pawellewandowski98 committed Nov 2, 2023
1 parent 22fe1a7 commit 6318620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bump.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func calculateMerkleRoot(baseTx BUMPLeaf, bump BUMP) (string, error) {
newOffset = offset + 1
}
tx2 := findTxByOffset(newOffset, bLevel)
if &tx2 == nil {
if tx2 == nil {
return "", errors.New("could not find pair")
}

Expand Down

0 comments on commit 6318620

Please sign in to comment.