diff --git a/core/vm/instructions.go b/core/vm/instructions.go index 44d3e81a9cf..cf7651fc33a 100644 --- a/core/vm/instructions.go +++ b/core/vm/instructions.go @@ -453,7 +453,7 @@ func opBlockhash(pc *uint64, evm *EVM, scope *ScopeContext) ([]byte, error) { } func opCoinbase(pc *uint64, evm *EVM, scope *ScopeContext) ([]byte, error) { - scope.Stack.push(new(uint256.Int).SetBytes(evm.Context.Coinbase.Bytes())) + scope.Stack.push(new(uint256.Int).SetBytes20(evm.Context.Coinbase.Bytes())) return nil, nil }