void transaction::withdraw( const balance_id_type& account, share_type amount ) { try { FC_ASSERT( amount > 0, "amount: ${amount}", ("amount",amount) ); operations.emplace_back( withdraw_operation( account, amount ) ); } FC_RETHROW_EXCEPTIONS( warn, "", ("account",account)("amount",amount) ) }
void transaction::withdraw( const balance_id_type& account, share_type amount ) { operations.push_back( withdraw_operation( account, amount ) ); }