SON118 - Compilation errors fix

This commit is contained in:
satyakoneru 2019-10-11 10:22:11 +00:00
parent 939d9195af
commit d191192c7b
3 changed files with 10 additions and 3 deletions

View file

@ -114,6 +114,7 @@ add_library( graphene_chain
affiliate_payout.cpp
son_evaluator.cpp
son_object.cpp
${HEADERS}
${PROTOCOL_HEADERS}

View file

@ -45,9 +45,7 @@ namespace graphene { namespace chain {
vesting_balance_id_type pay_vb;
son_statistics_id_type statistics;
void pay_son_fee(share_type pay, database& db) {
db.adjust_balance( son_account, pay );
}
void pay_son_fee(share_type pay, database& db);
};
struct by_account;

View file

@ -0,0 +1,8 @@
#include <graphene/chain/database.hpp>
#include <graphene/chain/son_object.hpp>
namespace graphene { namespace chain {
void son_object::pay_son_fee(share_type pay, database& db) {
db.adjust_balance(son_account, pay);
}
}}