diff --git a/src/main.lua b/src/main.lua index 6401d0ca..270bea31 100644 --- a/src/main.lua +++ b/src/main.lua @@ -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")