diff --git a/ledger/sample/demo.go b/ledger/sample/demo.go index 9796d90..1bcef98 100644 --- a/ledger/sample/demo.go +++ b/ledger/sample/demo.go @@ -79,7 +79,4 @@ func main() { if err != nil { log.Panic("fail to close channel", zap.Error(err)) } - if err != nil { - log.Panic(err.Error()) - } }