Print number of prioris

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2020-08-08 20:31:52 +02:00
parent ed2778f785
commit b41a0ea197
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -153,7 +153,7 @@ func (a *GasAPI) GasEstimateGasLimit(ctx context.Context, msgIn *types.Message,
for _, m := range pending { for _, m := range pending {
priorMsgs = append(priorMsgs, m) priorMsgs = append(priorMsgs, m)
} }
log.Warnf("added %d prior msgs") log.Warnf("added %d prior msgs", len(priorMsgs))
res, err := a.Stmgr.CallWithGas(ctx, &msg, priorMsgs, ts) res, err := a.Stmgr.CallWithGas(ctx, &msg, priorMsgs, ts)
if err != nil { if err != nil {