diff --git a/README.md b/README.md index bc4040d..19993d5 100644 --- a/README.md +++ b/README.md @@ -553,12 +553,12 @@ std::vector assetids; assetids.push_back(assetid1); assetids.push_back(assetid2); -string memo = "Transfer two asset" +string memo = "Burn two assets" action saBurn = action( permission_level{owner, "active"_n}, SIMPLEASSETSCONTRACT, - "transfer"_n, + "burn"_n, std::make_tuple(owner, assetids, memo) ); saBurn.send(); diff --git a/include/SimpleAssets.hpp b/include/SimpleAssets.hpp index 0b0bdb7..d6fef0b 100644 --- a/include/SimpleAssets.hpp +++ b/include/SimpleAssets.hpp @@ -286,7 +286,7 @@ CONTRACT SimpleAssets : public contract{ * specified in {{newowner}} is able to make a claim, and take control of the asset using their RAM. * Offer action is not available if an asset is delegated (borrowed). * - * @param owner is the accout of current owner. + * @param owner is the account of current owner. * @param newowner is the future owner of the asset. * @param assetids is array of asset id's to offer. * @param memo is memo for offer action. @@ -547,7 +547,7 @@ CONTRACT SimpleAssets : public contract{ using burnf_action = action_wrapper< "burnf"_n, &SimpleAssets::burnf >; /* - * Open accoutns table. + * Open accounts table. * * This action opens accounts table for specified fungible token. *