Skip to content

Commit

Permalink
Merge pull request #1813 from bitshares/fix-temp-account-vesting
Browse files Browse the repository at this point in the history
Disallow temp-account to withdraw vested balance
  • Loading branch information
abitmore authored Jun 21, 2019
2 parents b6d4e24 + 927e680 commit 987298e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/protocol/include/graphene/protocol/vesting.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ namespace graphene { namespace protocol {
{
FC_ASSERT( fee.amount >= 0 );
FC_ASSERT( amount.amount > 0 );
FC_ASSERT( owner != GRAPHENE_TEMP_ACCOUNT );
}
};

Expand Down

0 comments on commit 987298e

Please sign in to comment.