Skip to content

Commit

Permalink
Merge pull request #314 from fioprotocol/feature/BD-2317-fiocontracts…
Browse files Browse the repository at this point in the history
…-develop-07242023

BD-2317 Update vote weight after un-registering
  • Loading branch information
edrotthoff authored Jul 31, 2023
2 parents 92cc1b8 + 273f68b commit 174cf43
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contracts/fio.system/src/voting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1054,6 +1054,11 @@ namespace eosiosystem {
processrewardsnotpid(reg_amount, get_self());
//end new fees, logic for Mandatory fees.

INLINE_ACTION_SENDER(eosiosystem::system_contract, updatepower)
("eosio"_n, {{_self, "active"_n}},
{actor, false}
);

const string response_string = string("{\"status\": \"OK\",\"fee_collected\":") +
to_string(reg_amount) + string("}");
fio_400_assert(transaction_size() <= MAX_TRX_SIZE, "transaction_size", std::to_string(transaction_size()),
Expand Down

0 comments on commit 174cf43

Please sign in to comment.