From e9f6b2c17b0fa8396ad15ac566ae22a5b549bfb7 Mon Sep 17 00:00:00 2001 From: tmyngu11 Date: Thu, 10 Jun 2021 17:07:11 -0400 Subject: [PATCH 1/2] fixed some typos in the header --- include/SimpleAssets.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. * From 92ffc8544dda661c3377d9e940e5e59d9b22312c Mon Sep 17 00:00:00 2001 From: tmyngu11 Date: Thu, 10 Jun 2021 17:09:54 -0400 Subject: [PATCH 2/2] fix burn readme example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();