diff --git a/firehose/printer.go b/firehose/printer.go index 396d8819744d..0e1b3a78f2f4 100644 --- a/firehose/printer.go +++ b/firehose/printer.go @@ -134,6 +134,11 @@ func Hex(in []byte) string { } func BigInt(in *big.Int) string { + if in == nil { + // This returns the same as if in would have been `big.NewInt(0)` + return "." + } + return Hex(in.Bytes()) }