From 19a4395cd7c6970adc7a779b19b7e3413779c4cf Mon Sep 17 00:00:00 2001 From: swift-mx Date: Tue, 14 Jun 2022 14:13:44 +0800 Subject: [PATCH] fix: format error log --- chain/rand/rand.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/rand/rand.go b/chain/rand/rand.go index 529ba67328c..12a99340449 100644 --- a/chain/rand/rand.go +++ b/chain/rand/rand.go @@ -163,7 +163,7 @@ func (sr *stateRand) getBeaconRandomnessV3(ctx context.Context, pers crypto.Doma be, err := sr.extractBeaconEntryForEpoch(ctx, filecoinEpoch) if err != nil { - log.Errorf("failed to get beacon entry as expected: %w", err) + log.Errorf("failed to get beacon entry as expected: %s", err) return nil, err }