mirror of https://github.com/poanetwork/quorum.git
non-party must refund gas for private transactions
This commit is contained in:
parent
5a80e7a1ba
commit
bacd5dc3c9
|
@ -254,6 +254,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 && isPrivate {
|
||||
st.refundGas()
|
||||
return nil, 0, false, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue