Closed liquitious closed 3 weeks ago
This check here prevents a contract from doing an (approved) transferFrom https://github.com/btc-vision/btc-runtime/blob/d131d381b7aab78a2e77091e0acd3918c9686a88/runtime/contracts/DeployableOP_20.ts#L359
transferFrom
That makes the allowance useless as this is only called by the token owner https://github.com/btc-vision/btc-runtime/blob/d131d381b7aab78a2e77091e0acd3918c9686a88/runtime/contracts/DeployableOP_20.ts#L365
ie this flow doesn't work:
Will review! Thanks!
This issue got resolved.
This check here prevents a contract from doing an (approved)
transferFrom
https://github.com/btc-vision/btc-runtime/blob/d131d381b7aab78a2e77091e0acd3918c9686a88/runtime/contracts/DeployableOP_20.ts#L359That makes the allowance useless as this is only called by the token owner https://github.com/btc-vision/btc-runtime/blob/d131d381b7aab78a2e77091e0acd3918c9686a88/runtime/contracts/DeployableOP_20.ts#L365
ie this flow doesn't work: