This commit is contained in:
Kevin Darby committed 2017-11-17 18:02:47 -05:00
1 parent bf6dfba165
commit 5b677125bb
1 file changed
+1 -1
@@ -88,7 +88,7 @@ void AccountRiskLimiter::on_account_update(const api::account::Account& acct)
//TODO This is a little strange-- we update the account, but not the limits,
//we break those down above and call down below. Might want to rework this, but the reason is because the scope of this object
//is Account,Symbolname
bts_assert(acct.tag1() == me->shared_data.account_info.tag1());
bts_assert(acct.tag1() == me->shared_data.account_info.tag1() || me->shared_data.account_info.tag1() == "");
me->shared_data.account_info = acct;
for(const auto& i : me->operator_map)
i.second->on_account_update();