From 21085bcfda3369df7cf2cc50e01ccbcbe57b7bf5 Mon Sep 17 00:00:00 2001 From: Tengfei Niu Date: Mon, 23 Dec 2019 10:22:15 +0800 Subject: [PATCH 1/3] Remove useless code --- libraries/chain/include/graphene/chain/account_object.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/chain/include/graphene/chain/account_object.hpp b/libraries/chain/include/graphene/chain/account_object.hpp index 3e3e767e6f..cf20ed38c4 100644 --- a/libraries/chain/include/graphene/chain/account_object.hpp +++ b/libraries/chain/include/graphene/chain/account_object.hpp @@ -194,7 +194,6 @@ namespace graphene { namespace chain { /// operations the account may perform. authority active; - typedef account_options options_type; account_options options; /// The reference implementation records the account's statistics in a separate object. This field contains the From 0e8ea4bedde8e788bf15e60736bd924597b2c99e Mon Sep 17 00:00:00 2001 From: Tengfei Niu Date: Tue, 24 Dec 2019 09:41:02 +0800 Subject: [PATCH 2/3] update comment --- libraries/protocol/include/graphene/protocol/account.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/protocol/include/graphene/protocol/account.hpp b/libraries/protocol/include/graphene/protocol/account.hpp index 02aba3a3f7..453483d960 100644 --- a/libraries/protocol/include/graphene/protocol/account.hpp +++ b/libraries/protocol/include/graphene/protocol/account.hpp @@ -122,7 +122,7 @@ namespace graphene { namespace protocol { * @brief Update an existing account * * This operation is used to update an existing account. It can be used to update the authorities, or adjust the options on the account. - * See @ref account_object::options_type for the options which may be updated. + * See @ref account_object::account_options for the options which may be updated. */ struct account_update_operation : public base_operation { From af275d8338071e7b3c6b1df9ed6542d7d2989d0e Mon Sep 17 00:00:00 2001 From: Tengfei Niu Date: Wed, 25 Dec 2019 10:41:15 +0800 Subject: [PATCH 3/3] update comment --- libraries/protocol/include/graphene/protocol/account.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/protocol/include/graphene/protocol/account.hpp b/libraries/protocol/include/graphene/protocol/account.hpp index 453483d960..6849fbdc8b 100644 --- a/libraries/protocol/include/graphene/protocol/account.hpp +++ b/libraries/protocol/include/graphene/protocol/account.hpp @@ -122,7 +122,7 @@ namespace graphene { namespace protocol { * @brief Update an existing account * * This operation is used to update an existing account. It can be used to update the authorities, or adjust the options on the account. - * See @ref account_object::account_options for the options which may be updated. + * See @ref account_object::options for the options which may be updated. */ struct account_update_operation : public base_operation {