Skip to content

Commit 228f45e

Browse files
committed
fix helperctx
1 parent 34c7234 commit 228f45e

File tree

1 file changed

+1
-1
lines changed
  • action/protocol/execution/evm

1 file changed

+1
-1
lines changed

action/protocol/execution/evm/evm.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ func blockHeightToTime(ctx context.Context, height uint64) (*time.Time, error) {
464464
if height == blkCtx.BlockHeight {
465465
return &blkCtx.BlockTimeStamp, nil
466466
}
467-
t, err := mustGetHelperCtx(ctx).GetBlockTime(height)
467+
t, err := protocol.MustGetBlockchainCtx(ctx).GetBlockTime(height)
468468
if err != nil {
469469
return nil, err
470470
}

0 commit comments

Comments
 (0)