Skip to content

Commit

Permalink
Do not display NOTIFY_ALERT for newly created accounts #3605
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandeberg committed Feb 11, 2020
1 parent 9b28854 commit 700c9e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libraries/plugins/rc/rc_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,8 @@ struct pre_apply_operation_visitor

try {

if( mbparams.max_mana != rc_account.last_max_rc )
// current_mana == numeric_limits< int64_t >::max() is a unique case for an newly created account
if( mbparams.max_mana != rc_account.last_max_rc && rc_account.rc_manabar.current_mana != std::numeric_limits< int64_t >::max() )
{
if( !_skip.skip_reject_unknown_delta_vests )
{
Expand Down

0 comments on commit 700c9e5

Please sign in to comment.