summaryrefslogtreecommitdiff
path: root/patches/wownero/0000-fix-wallet_api-compilation-target.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/wownero/0000-fix-wallet_api-compilation-target.patch')
-rw-r--r--patches/wownero/0000-fix-wallet_api-compilation-target.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/patches/wownero/0000-fix-wallet_api-compilation-target.patch b/patches/wownero/0000-fix-wallet_api-compilation-target.patch
new file mode 100644
index 0000000..4ccc436
--- /dev/null
+++ b/patches/wownero/0000-fix-wallet_api-compilation-target.patch
@@ -0,0 +1,28 @@
+From e1b6d9158179fe7f21dc9caab4605cf82fc49db0 Mon Sep 17 00:00:00 2001
+From: Czarek Nakamoto <cyjan@mrcyjanek.net>
+Date: Tue, 26 Mar 2024 06:55:38 +0100
+Subject: [PATCH] Fix wallet_api compilation target
+ https://git.wownero.com/wownero/wownero/issues/483
+
+---
+ src/wallet/api/wallet.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/wallet/api/wallet.cpp b/src/wallet/api/wallet.cpp
+index 823f122c2..d81ddec93 100644
+--- a/src/wallet/api/wallet.cpp
++++ b/src/wallet/api/wallet.cpp
+@@ -1773,11 +1773,11 @@ PendingTransaction *WalletImpl::createTransactionMultDest(const std::vector<stri
+ if (amount) {
+ transaction->m_pending_tx = m_wallet->create_transactions_2(dsts, fake_outs_count, 0 /* unlock_time */,
+ adjusted_priority,
+- extra, subaddr_account, subaddr_indices, preferred_input_list);
++ extra, subaddr_account, subaddr_indices);
+ } else {
+ transaction->m_pending_tx = m_wallet->create_transactions_all(0, info.address, info.is_subaddress, 1, fake_outs_count, 0 /* unlock_time */,
+ adjusted_priority,
+- extra, subaddr_account, subaddr_indices, preferred_input_list);
++ extra, subaddr_account, subaddr_indices);
+ }
+ pendingTxPostProcess(transaction);
+