mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
Update chain.go
This commit is contained in:
parent
849366bea4
commit
47083fdc44
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ func (c *Chain) RootAt(height int) common.Hash {
|
|||
// pre-funded accounts list.
|
||||
func (c *Chain) GetSender(idx int) (common.Address, uint64) {
|
||||
accounts := maps.Keys(c.senders)
|
||||
slices.SortFunc(accounts, commmon.Address.Cmp)
|
||||
slices.SortFunc(accounts, common.Address.Cmp)
|
||||
addr := accounts[idx]
|
||||
return addr, c.senders[addr].Nonce
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue