Skip to content

Commit

Permalink
fix(info): update info handler name
Browse files Browse the repository at this point in the history
Co-authored-by: Dylan Fiedler <[email protected]>
  • Loading branch information
atticusofsparta and dtfiedler committed Jun 28, 2024
1 parent 3551121 commit 07dd017
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 @@ -78,7 +78,7 @@ local ActionMap = {
}

-- Write handlers
Handlers.add("info", utils.hasMatchingTag("Action", ActionMap.Transfer), function(msg)
Handlers.add(ActionMap.Transfer, utils.hasMatchingTag("Action", ActionMap.Transfer), function(msg)
-- assert recipient is a valid arweave address
local function checkAssertions()
assert(utils.isValidArweaveAddress(msg.Tags.Recipient), "Invalid recipient")
Expand Down

0 comments on commit 07dd017

Please sign in to comment.