Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
cam-schultz committed Sep 5, 2023
1 parent e012c4e commit 44384ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vms/evm/subscriber.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (s *subscriber) ProcessFromHeight(height *big.Int) error {
toBlock := big.NewInt(0).SetUint64(latestBlock)
if height.Cmp(big.NewInt(0).Add(toBlock, big.NewInt(-MaxBlocksToProcess))) < 0 {
s.logger.Warn(
fmt.Sprintf("Requested to process too many blocks. Processing only the most recent %s blocks", MaxBlocksToProcess),
fmt.Sprintf("Requested to process too many blocks. Processing only the most recent %d blocks", MaxBlocksToProcess),
zap.String("requestedBlockHeight", height.String()),
zap.String("latestBlockHeight", toBlock.String()),
)
Expand Down

0 comments on commit 44384ca

Please sign in to comment.