diff --git a/src/wallet/MoneroWallet.cpp b/src/wallet/MoneroWallet.cpp index ffdd785..8751b75 100644 --- a/src/wallet/MoneroWallet.cpp +++ b/src/wallet/MoneroWallet.cpp @@ -1250,6 +1250,12 @@ namespace monero { return txs; } + shared_ptr MoneroWallet::sweepOutput(const MoneroSendRequest& request) const { + cout << "sweepOutput()" << endl; + cout << "MoneroSendRequest: " << request.serialize() << endl; + throw runtime_error("Not implemented"); + } + vector MoneroWallet::relayTxs(const vector& txMetadatas) { cout << "relayTxs()" << endl; diff --git a/src/wallet/MoneroWallet.h b/src/wallet/MoneroWallet.h index d26024f..b3f5ebe 100644 --- a/src/wallet/MoneroWallet.h +++ b/src/wallet/MoneroWallet.h @@ -663,15 +663,15 @@ namespace monero { // * @return the resulting transactions // */ // public List sendSplit(int accountIndex, string address, BigInteger sendAmount, MoneroSendPriority priority); -// -// /** -// * Sweep an output with a given key image. -// * -// * @param request configures the sweep transaction -// * @return the resulting transaction from sweeping an output -// */ -// public MoneroTxWallet sweepOutput(MoneroSendRequest request); -// + + /** + * Sweep an output with a given key image. + * + * @param request configures the sweep transaction + * @return the resulting transaction from sweeping an output + */ + shared_ptr sweepOutput(const MoneroSendRequest& request) const; + // /** // * Sweep an output with a given key image. // *