fix: format error log

This commit is contained in:
swift-mx 2022-06-14 14:13:44 +08:00
parent e9157e9dcc
commit 19a4395cd7

View File

@ -163,7 +163,7 @@ func (sr *stateRand) getBeaconRandomnessV3(ctx context.Context, pers crypto.Doma
be, err := sr.extractBeaconEntryForEpoch(ctx, filecoinEpoch) be, err := sr.extractBeaconEntryForEpoch(ctx, filecoinEpoch)
if err != nil { 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 return nil, err
} }