Skip to content

Commit

Permalink
Allow harmony nodes to sign multisig from multiple accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
rlan35 committed Sep 10, 2020
1 parent 12d3117 commit eeb8e31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/quorum/one-node-staked-vote.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (v *stakedVoteWeight) AddNewVote(
if i == 0 {
signerAddr = voter.EarningAccount
} else {
if bytes.Compare(signerAddr.Bytes(), voter.EarningAccount[:]) != 0 {
if bytes.Compare(signerAddr.Bytes(), voter.EarningAccount[:]) != 0 && !voter.IsHarmonyNode {
return nil, errors.Errorf("Multiple signer accounts used in multi-sig: %x, %x", signerAddr.Bytes(), voter.EarningAccount)
}
}
Expand Down

0 comments on commit eeb8e31

Please sign in to comment.