eth: formatted error nit (#25499)

This commit is contained in:
aaronbuchwald
2022-08-09 11:23:41 +03:00
committed by GitHub
parent e4b3bd6f26
commit 759d795c56
+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")
}