eth: formatted error nit (#25499)

This commit is contained in:
aaronbuchwald authored and GitHub committed 2022-08-09 11:23:41 +03:00
1 parent e4b3bd6f26
commit 759d795c56
1 file changed
+1 -1
+1 -1
View File
@@ -586,5 +586,5 @@ func (api *DebugAPI) GetAccessibleState(from, to rpc.BlockNumber) (uint64, error
return uint64(i), nil
}
}
return 0, fmt.Errorf("no state found")
return 0, errors.New("no state found")
}