update raft fix to 1.8.8

This commit is contained in:
Zekun Shi 2018-06-14 12:12:20 +08:00
parent 4bfaedf312
commit f9541a4125
1 changed files with 1 additions and 5 deletions

View File

@ -251,11 +251,7 @@ func (st *StateTransition) TransitionDb() (ret []byte, usedGas uint64, failed bo
}
//if input is empty for the smart contract call, return
if len(data) == 0 {
return nil, new(big.Int), new(big.Int), false, nil
}
//if input is empty for the smart contract call, return
if len(data) == 0 {
return nil, new(big.Int), new(big.Int), false, nil
return nil, 0, false, nil
}
ret, st.gas, vmerr = evm.Call(sender, to, data, st.gas, st.value)
}