diff --git a/server/public.go b/server/public.go index b2e5c5f2..f0a7c795 100644 --- a/server/public.go +++ b/server/public.go @@ -381,6 +381,9 @@ func formatTime(t time.Time) string { // for now return the string as it is // in future could be used to do coin specific formatting func formatAmount(a string) string { + if a == "" { + return "0" + } return a }