fix: error log

Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
This commit is contained in:
swift-mx 2023-05-30 23:54:07 +08:00 committed by GitHub
parent d365f7b0a1
commit 42aa8451f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -674,7 +674,7 @@ func slashConsensus(a lapi.FullNode, p string, from string) error {
Params: enc,
}, nil)
if err != nil {
log.Errorf("ReportConsensusFault to messagepool error:%s", err)
log.Errorf("ReportConsensusFault to messagepool error:%w", err)
continue
}
log.Infof("ReportConsensusFault message CID:%s", message.Cid())