コード例 #1
0
ファイル: transaction.cpp プロジェクト: bitsuperlab/cpp-play
 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) ) }
コード例 #2
0
 void transaction::withdraw( const balance_id_type& account, share_type amount )
 {
    operations.push_back( withdraw_operation( account, amount ) );
 }