Skip to content

Commit

Permalink
fix(gar): fix gar decrease operator stake
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed Jun 25, 2024
1 parent cf92e10 commit af71b50
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 @@ -600,7 +600,7 @@ Handlers.add(
function(msg)
local checkAssertions = function()
assert(
utils.isInteger(tonumber(msg.Tags.Quantity) and tonumber(msg.Tags.Quantity) > 0),
utils.isInteger(tonumber(msg.Tags.Quantity)) and tonumber(msg.Tags.Quantity) > 0,
"Invalid quantity. Must be integer greater than 0"
)
end
Expand Down

0 comments on commit af71b50

Please sign in to comment.