Improve error message.

This commit is contained in:
Jim McDonald
2020-06-22 11:46:53 +01:00
parent f5fc8b363d
commit f2bb5e0d51

View File

@@ -66,7 +66,7 @@ In quiet mode this will return 0 if the block information is present and not ski
var slot uint64
if blockInfoSlot < 0 {
slot, err = grpc.FetchLatestFilledSlot(eth2GRPCConn)
errCheck(err, "Failed to obtain latest block")
errCheck(err, "Failed to obtain slot of latest block")
} else {
slot = uint64(blockInfoSlot)
}