Skip to content

Commit

Permalink
IsMultisigOut index out of range bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
waqas64 authored and ordishs committed Jan 8, 2024
1 parent 31916f9 commit 005b870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bscript/script.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ func (s *Script) IsMultisigOut() bool {
return false
}

if len(parts) < 3 {
if len(parts) < 3 || len(parts[0]) < 1 {
return false
}

Expand Down

0 comments on commit 005b870

Please sign in to comment.