diff options
-rw-r--r-- | core/vm/governance.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/vm/governance.go b/core/vm/governance.go index fa9f578be..ef7c9d6eb 100644 --- a/core/vm/governance.go +++ b/core/vm/governance.go @@ -1424,12 +1424,6 @@ func (g *GovernanceContract) stake(publicKey []byte) ([]byte, error) { return nil, errExecutionReverted } - // Make sure the public key belongs to the caller. - if crypto.PubkeyToAddress(*pk) != caller { - g.penalize() - return nil, errExecutionReverted - } - offset = g.state.NodesLength() g.state.PushNode(&nodeInfo{ Owner: caller, |