mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
fix incorrect error message
This commit is contained in:
parent
b6f2bbd417
commit
a7c24f1b81
1 changed files with 1 additions and 1 deletions
|
|
@ -332,7 +332,7 @@ func readState(file string) (map[common.Address]state.DumpAccount, error) {
|
||||||
func readAccounts(file string) (map[common.Address]*senderInfo, error) {
|
func readAccounts(file string) (map[common.Address]*senderInfo, error) {
|
||||||
f, err := os.ReadFile(file)
|
f, err := os.ReadFile(file)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, fmt.Errorf("unable to read state: %v", err)
|
return nil, fmt.Errorf("unable to read accounts: %v", err)
|
||||||
}
|
}
|
||||||
type account struct {
|
type account struct {
|
||||||
Key hexutil.Bytes `json:"key"`
|
Key hexutil.Bytes `json:"key"`
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue