Skip to content

Commit 987298e

Browse files
authored
Merge pull request #1813 from bitshares/fix-temp-account-vesting
Disallow temp-account to withdraw vested balance
2 parents b6d4e24 + 927e680 commit 987298e

File tree

1 file changed

+1
-0
lines changed
  • libraries/protocol/include/graphene/protocol

1 file changed

+1
-0
lines changed

libraries/protocol/include/graphene/protocol/vesting.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ namespace graphene { namespace protocol {
112112
{
113113
FC_ASSERT( fee.amount >= 0 );
114114
FC_ASSERT( amount.amount > 0 );
115+
FC_ASSERT( owner != GRAPHENE_TEMP_ACCOUNT );
115116
}
116117
};
117118

0 commit comments

Comments
 (0)