From 1f653dc2623ee2be3e1eeeaf5ce0e97966cecd6a Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Sun, 29 May 2022 17:40:30 +0200 Subject: qt, wallet, refactor: Make `WalletModel::sendCoins()` return `void` Currently, the `WalletModel::sendCoins()` function always returns the same value. Also dead and noop code has been removed. --- src/qt/walletmodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qt/walletmodel.h') diff --git a/src/qt/walletmodel.h b/src/qt/walletmodel.h index 540fdaafe3..699b7c9620 100644 --- a/src/qt/walletmodel.h +++ b/src/qt/walletmodel.h @@ -103,7 +103,7 @@ public: SendCoinsReturn prepareTransaction(WalletModelTransaction &transaction, const wallet::CCoinControl& coinControl); // Send coins to a list of recipients - SendCoinsReturn sendCoins(WalletModelTransaction &transaction); + void sendCoins(WalletModelTransaction& transaction); // Wallet encryption bool setWalletEncrypted(const SecureString& passphrase); -- cgit v1.2.3