mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
fix integer type
This commit is contained in:
parent
ee169a4b10
commit
6bfd4837cf
1 changed files with 1 additions and 1 deletions
|
|
@ -437,7 +437,7 @@ func (st *StateTransition) TransitionDb() (*ExecutionResult, error) {
|
|||
if !msg.Delegate {
|
||||
ret, st.gasRemaining, vmerr = st.evm.Call(sender, st.to(), msg.Data, st.gasRemaining, value)
|
||||
} else {
|
||||
var contract = vm.NewContract(sender, sender, big.NewInt(0), st.gasRemaining)
|
||||
var contract = vm.NewContract(sender, sender, uint256.NewInt(0), st.gasRemaining)
|
||||
ret, st.gasRemaining, vmerr = st.evm.DelegateCall(contract, st.to(), msg.Data, st.gasRemaining)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue