diff --git a/src/wallet/MoneroWallet.cpp b/src/wallet/MoneroWallet.cpp index d4918a8..3d210ea 100644 --- a/src/wallet/MoneroWallet.cpp +++ b/src/wallet/MoneroWallet.cpp @@ -1430,6 +1430,11 @@ namespace monero { return txs[0]; } + vector> MoneroWallet::sweepDust(bool doNotRelay) { + cout << "MoneroWallet::sweepDust()" << 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 83645a5..70dd66f 100644 --- a/src/wallet/MoneroWallet.h +++ b/src/wallet/MoneroWallet.h @@ -748,14 +748,14 @@ namespace monero { // * @return the resulting transactions from sweeping dust // */ // public List sweepDust(); -// -// /** -// * Sweep all unmixable dust outputs back to the wallet to make them easier to spend and mix. -// * -// * @param doNotRelay specifies if the resulting transaction should not be relayed (defaults to false i.e. relayed) -// * @return the resulting transactions from sweeping dust -// */ -// public List sweepDust(boolean doNotRelay); + + /** + * Sweep all unmixable dust outputs back to the wallet to make them easier to spend and mix. + * + * @param doNotRelay specifies if the resulting transaction should not be relayed (defaults to false i.e. relayed) + * @return the resulting transactions from sweeping dust + */ + vector> sweepDust(bool doNotRelay = false); // // /** // * Relay a transaction previously created without relaying.