Skip to content

Commit

Permalink
tests(BUX-388): add spv tests for unmineded inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
arkadiuszos4chain committed Dec 5, 2023
1 parent 92eff98 commit ad75466
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 22 deletions.
2 changes: 1 addition & 1 deletion spv/spv.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func validateLockTime(tx *bt.Tx) error {
}
for _, input := range tx.Inputs {
if input.SequenceNumber != 0xffffffff {
return errors.New("nLocktime is set and nSequence is not max, therefore this could be a non-final tx which is not currently supported.")
return errors.New("nLocktime is set and nSequence is not max, therefore this could be a non-final tx which is not currently supported")
}
}
return nil
Expand Down
Loading

0 comments on commit ad75466

Please sign in to comment.