AraBlocks / ara-contracts

Blockchain interactions in Ara modules.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't purchase AFS that is "free"

MarkGeeRomano opened this issue · comments

Expected Behavior

Should be able to call purchase on an AFS contract with price set to null.

Actual Behavior

Throws an err
Error purchasing item: TypeError: Value must be greater than 0 at _validateApprovalOpts

@MarkGeeRomano does calling purchase with price of 0 fix it?

hey @cckelly it works now 🤙

Cool, closing! If you have any more issues feel free to open it back up.