mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
fix typo
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
a64f62dee0
commit
8691566e99
1 changed files with 1 additions and 1 deletions
|
|
@ -514,7 +514,7 @@ func (b *SimulatedBackend) PendingStorageAt(ctx context.Context, account common.
|
|||
b.mu.Lock()
|
||||
defer b.mu.Unlock()
|
||||
|
||||
return b.pendingState.GetOrNewStateObject(account).Code(), nil
|
||||
return b.pendingState.GetState(account, key).Bytes(), nil
|
||||
}
|
||||
|
||||
// PendingCodeAt implements PendingStateReader.PendingCodeAt, retrieving
|
||||
|
|
|
|||
Loading…
Reference in a new issue