From a4bea28cc90db276d3fe3657d438049c7fadea9c Mon Sep 17 00:00:00 2001 From: LexLuthr <88259624+LexLuthr@users.noreply.github.com> Date: Fri, 5 Apr 2024 15:22:01 +0400 Subject: [PATCH] Update storage/pipeline/utils.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ɓukasz Magiera --- storage/pipeline/utils.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/storage/pipeline/utils.go b/storage/pipeline/utils.go index c515ec5d0c3..625658b4166 100644 --- a/storage/pipeline/utils.go +++ b/storage/pipeline/utils.go @@ -113,11 +113,10 @@ func simulateMsgGas(ctx context.Context, sa interface { if err != nil { return nil, xerrors.Errorf("failed to unmarshal the signed message: %w", err) } - s := hex.EncodeToString(b.Bytes()) gmsg, err := sa.GasEstimateMessageGas(ctx, &msg, nil, types.EmptyTSK) if err != nil { - err = fmt.Errorf("message %s failed: %w", s, err) + err = fmt.Errorf("message %x failed: %w", b.Bytes(), err) } return gmsg, err }