未验证 提交 fdc7423c 编写于 作者: G Greg Lee 提交者: GitHub

Merge pull request #2134 from brianjohnson5972/2125-net-weight-typo

Typo in writing to db
......@@ -248,7 +248,7 @@ void resource_limits_manager::process_account_limit_updates() {
_db.modify(actual_entry, [&](resource_limits_object& rlo){
update_state_and_value(rso.total_ram_bytes, rlo.ram_bytes, itr->ram_bytes, "ram_bytes");
update_state_and_value(rso.total_cpu_weight, rlo.cpu_weight, itr->cpu_weight, "cpu_weight");
update_state_and_value(rso.total_net_weight, rlo.net_weight, itr->net_weight, "net_wright");
update_state_and_value(rso.total_net_weight, rlo.net_weight, itr->net_weight, "net_weight");
});
multi_index.remove(*itr);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册