Skip to content

Commit

Permalink
Remove incorrect balance adjustment.
Browse files Browse the repository at this point in the history
  • Loading branch information
swatanabe committed Feb 22, 2022
1 parent 7d76842 commit d63c4a9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion contracts/eden/src/distributions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,6 @@ namespace eden
end = member_idx.end();
iter != end && iter->owner() == old_account;)
{
owned_accounts.add_balance("master"_n, iter->balance(), false);
auto next = iter;
++next;
member_idx.modify(iter, contract, [&](auto& acct) { acct.owner() = new_account; });
Expand Down

0 comments on commit d63c4a9

Please sign in to comment.