diff --git a/src/server/sparkd/risk_limits/AccountRiskLimiter.cpp b/src/server/sparkd/risk_limits/AccountRiskLimiter.cpp index b61388c38..f0ef5a55d 100644 --- a/src/server/sparkd/risk_limits/AccountRiskLimiter.cpp +++ b/src/server/sparkd/risk_limits/AccountRiskLimiter.cpp @@ -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();