mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-03 11:41:17 +00:00
cmd/devp2p/internal/ethtest: fix swapped args in readAccounts error (#35247)
This commit is contained in:
parent
7e625dd548
commit
59e89e81e5
1 changed files with 1 additions and 1 deletions
|
|
@ -335,7 +335,7 @@ func readAccounts(file string) (map[common.Address]*senderInfo, error) {
|
|||
for addr, acc := range keys {
|
||||
pk, err := crypto.HexToECDSA(common.Bytes2Hex(acc.Key))
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("unable to read private key for %s: %v", err, addr)
|
||||
return nil, fmt.Errorf("unable to read private key for %s: %v", addr, err)
|
||||
}
|
||||
accounts[addr] = &senderInfo{Key: pk, Nonce: 0}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue