mirror of https://github.com/poanetwork/quorum.git
core: check private state for to existance first
This commit is contained in:
parent
a84c31ce76
commit
2ea7af01c4
|
@ -102,7 +102,7 @@ func (b *EthApiBackend) GetVMEnv(ctx context.Context, msg core.Message, state et
|
|||
privateState = statedb.privateState
|
||||
)
|
||||
|
||||
if publicState.Exist(*msg.To()) {
|
||||
if !privateState.Exist(*msg.To()) {
|
||||
privateState = publicState
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue