mirror of https://github.com/poanetwork/quorum.git
Fixes value transfer (#430)
This commit is contained in:
parent
87d7c906e9
commit
01195280b4
|
@ -279,8 +279,8 @@ func (st *StateTransition) TransitionDb() (ret []byte, requiredGas, usedGas *big
|
|||
} else {
|
||||
to = st.to().Address()
|
||||
}
|
||||
//if input is empty for the smart contract call, return
|
||||
if len(data) == 0 {
|
||||
//if input is empty for a private smart contract call, return
|
||||
if len(data) == 0 && isPrivate{
|
||||
return nil, new(big.Int), new(big.Int), false, nil
|
||||
}
|
||||
ret, st.gas, vmerr = evm.Call(sender, to, data, st.gas, st.value)
|
||||
|
|
Loading…
Reference in New Issue