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