Skip to content

Commit

Permalink
fixes check on instant tags
Browse files Browse the repository at this point in the history
  • Loading branch information
vilenarios committed Oct 17, 2024
1 parent 2c60b37 commit acdb408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ addEventingHandler(
local from = utils.formatAddress(msg.From)
local target = utils.formatAddress(msg.Tags.Target or msg.Tags.Address)
local quantity = tonumber(msg.Tags.Quantity)
local instantWithdraw = msg.Tags.Instant == true
local instantWithdraw = msg.Tags.Instant and msg.Tags.Instant == "true"
msg.ioEvent:addField("TargetFormatted", target)

local shouldContinue2, gateway = eventingPcall(msg.ioEvent, function(error)
Expand Down

0 comments on commit acdb408

Please sign in to comment.