Translations: Lightweight Contracts/130/en: Difference between revisions
From ArdorDocs
(Importing a new version from external source) |
(No difference)
|
Latest revision as of 00:38, 11 August 2020
Always start your contract code with input validity checks. For example, if your contract is triggered by a sendMoney transaction, make sure the payment recipient is the contract account and that the payment uses the expected chain, that the payment amount is correct, etc.