diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index db5e44461..b0fd1fa75 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -4528,6 +4528,12 @@ bool simple_wallet::sweep_below(const std::vector &args_) //---------------------------------------------------------------------------------------------------- bool simple_wallet::donate(const std::vector &args_) { + if(m_wallet->testnet()) + { + fail_msg_writer() << tr("donations are not enabled on the testnet"); + return true; + } + std::vector local_args = args_; if(local_args.empty() || local_args.size() > 5) {