Skip to content

tonomy::sellram() Fix: token transfer will not authorise #86

Description

@theblockstalk

To replicate

  1. Call the tonomy::buyram() function And by some brand
  2. Call the tonomy::sellram() function

Expected behaviour

  • sellram() will release the RAM from the account and send tokens from the owner to the governance account

actual behaviour

  • Error will be thrown because eosio.token::transfer() is not authorised

notes:

  • We need to change the transfer() action to be sending to and from the tonomy system contract, Which can be authorised through eosio.code permission

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions