Skip to content

Commit

Permalink
feat(BUX-172): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
arkadiuszos4chain committed Nov 17, 2023
1 parent 80b55c8 commit 83a7791
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spv/merkle_path_validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

func verifyMerkleRoots(dBeef *paymail.DecodedBEEF, provider MerkleRootVerifier) error {
if err := ensureInputTransactionArePresentInBump(dBeef); err != nil {
if err := ensureInputTransactionsArePresentInBump(dBeef); err != nil {
return err
}

Expand All @@ -26,7 +26,7 @@ func verifyMerkleRoots(dBeef *paymail.DecodedBEEF, provider MerkleRootVerifier)
return nil
}

func ensureInputTransactionArePresentInBump(dBeef *paymail.DecodedBEEF) error {
func ensureInputTransactionsArePresentInBump(dBeef *paymail.DecodedBEEF) error {

for _, input := range dBeef.ProcessedTxData.Inputs {

Expand Down

0 comments on commit 83a7791

Please sign in to comment.