diff --git a/src/wallet/MoneroWallet.cpp b/src/wallet/MoneroWallet.cpp index cd4b970..bc5331a 100644 --- a/src/wallet/MoneroWallet.cpp +++ b/src/wallet/MoneroWallet.cpp @@ -1145,7 +1145,7 @@ namespace monero { throw runtime_error("need to handle error filling response!"); } - // build sent txs from results + // build sent txs from results // TODO: break this into separate utility function vector> txs; auto txIdsIter = txIds.begin(); auto txKeysIter = txKeys.begin(); @@ -1195,6 +1195,11 @@ namespace monero { return txs; } + vector MoneroWallet::relayTxs(const vector& txMetadatas) { + cout << "relayTxs()" << endl; + throw runtime_error("Not implemented"); + } + void MoneroWallet::save() { cout << "save()" << endl; save("", ""); diff --git a/src/wallet/MoneroWallet.h b/src/wallet/MoneroWallet.h index 465fd32..055096d 100644 --- a/src/wallet/MoneroWallet.h +++ b/src/wallet/MoneroWallet.h @@ -748,15 +748,15 @@ namespace monero { // * @return string is the id of the relayed tx // */ // public string relayTx(string txMetadata); -// -// /** -// * Relay transactions previously created without relaying. -// * -// * @param txMetadatas are transaction metadata previously created without relaying -// * @return List are ids of the relayed txs -// */ -// public List relayTxs(Collection txMetadatas); -// + + /** + * Relay transactions previously created without relaying. + * + * @param txMetadatas are transaction metadata previously created without relaying + * @return the ids of the relayed txs + */ + vector relayTxs(const vector& txMetadatas); + // /** // * Get a transaction note. // *