Skip to content

Commit

Permalink
feat(dpos2.0): weaken the validation of signature
Browse files Browse the repository at this point in the history
  • Loading branch information
RainFallsSilent committed Jul 27, 2022
1 parent 6f77387 commit 7fd853f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions vm/func_crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,13 @@ func opCheckMultiSig(e *ExecutionEngine) (VMState, error) {
}
if index != -1 {
pubkeys = append(pubkeys[:index], pubkeys[index+1:]...)
} else {
fSuccess = false
break
}
//else {
// fSuccess = false
// break
//}
}

if verified < m {
fSuccess = false
}
Expand Down

0 comments on commit 7fd853f

Please sign in to comment.