mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-10-17 15:21:30 +02:00
rename to monero_tx_config, monero_tx_priority
This commit is contained in:
@@ -38,25 +38,4 @@ int main(int argc, const char* argv[]) {
|
||||
for (int i = 0; i < txs.size() && i < 10; i++) {
|
||||
MINFO(txs[i]->serialize());
|
||||
}
|
||||
|
||||
// shared_ptr<monero_transfer_request> transfer_request = shared_ptr<monero_transfer_request>(new monero_transfer_request());
|
||||
// transfer_request->account_index = 0;
|
||||
// shared_ptr<monero_tx_request> tx_request = shared_ptr<monero_tx_request>(new monero_tx_request());
|
||||
// tx_request->is_confirmed = true;
|
||||
// transfer_request->tx_request = tx_request;
|
||||
// //tx_request->transfer_request = transfer_request;
|
||||
// vector<shared_ptr<monero_transfer>> transfers = wallet->get_transfers(*transfer_request);
|
||||
// if (transfers.empty()) throw runtime_error("Transfers should not be empty");
|
||||
// for (const shared_ptr<monero_transfer>& transfer : transfers) {
|
||||
// if (*transfer->account_index != 0) throw runtime_error("Account should be 0");
|
||||
// if (!*transfer->tx->is_confirmed) throw runtime_error("Transfer should be confirmed");
|
||||
// }
|
||||
|
||||
// shared_ptr<monero_tx_request> tx_request = shared_ptr<monero_tx_request>(new monero_tx_request());
|
||||
// tx_request->is_confirmed = true;
|
||||
// vector<shared_ptr<monero_tx_wallet>> txs = wallet->get_txs(*tx_request);
|
||||
// if (txs.empty()) throw runtime_error("Txs should not be empty");
|
||||
// for (const shared_ptr<monero_tx_wallet>& tx : txs) {
|
||||
// if (!*tx->is_confirmed) throw runtime_error("Tx should be confirmed");
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user