fix incorrect error message

This commit is contained in:
codemonkey23333 2024-06-12 03:21:55 +00:00
parent b6f2bbd417
commit a7c24f1b81

View file

@ -332,7 +332,7 @@ func readState(file string) (map[common.Address]state.DumpAccount, error) {
func readAccounts(file string) (map[common.Address]*senderInfo, error) {
f, err := os.ReadFile(file)
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 {
Key hexutil.Bytes `json:"key"`