Translations: Lightweight Contracts/130/en: Difference between revisions

From ArdorDocs
Jump to: navigation, search
(Importing a new version from external source)
 
(No difference)

Latest revision as of 00:38, 11 August 2020

Message definition (Lightweight Contracts)
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.

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.