Skip to content

Commit

Permalink
fix(prune): hotfix to add message id to prune
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed Oct 15, 2024
1 parent 0d6ead0 commit ee82b8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ end, function(msg)
local epochIndex = epochs.getEpochIndexForTimestamp(tonumber(msg.Tags.Timestamp or msg.Timestamp))
msg.ioEvent:addField("epochIndex", epochIndex)

local msgId = msg.Id
local msgTimestamp = tonumber(msg.Timestamp)
print("Pruning state at timestamp: " .. msgTimestamp)
local previousState = {
Expand Down

0 comments on commit ee82b8e

Please sign in to comment.