From bc289a0b5f107332d6d3658fbc2a35cf31f5b5a4 Mon Sep 17 00:00:00 2001 From: abitmore Date: Tue, 2 Nov 2021 19:54:54 +0000 Subject: [PATCH] Remove default value from an optional member in op If the type of a member variable is Optional, setting a non-standard default value will cause serialization / deserialization problems. --- libraries/protocol/include/graphene/protocol/samet_fund.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/protocol/include/graphene/protocol/samet_fund.hpp b/libraries/protocol/include/graphene/protocol/samet_fund.hpp index 6b19fc670f..e7c4bcfe1f 100644 --- a/libraries/protocol/include/graphene/protocol/samet_fund.hpp +++ b/libraries/protocol/include/graphene/protocol/samet_fund.hpp @@ -79,7 +79,7 @@ namespace graphene { namespace protocol { account_id_type owner_account; ///< Owner of the fund samet_fund_id_type fund_id; ///< ID of the SameT Fund object optional delta_amount; ///< Delta amount, optional - optional new_fee_rate = 0; ///< New fee rate, optional + optional new_fee_rate; ///< New fee rate, optional extensions_type extensions; ///< Unused. Reserved for future use.