aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2024-03-21 19:29:14 +0100
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2024-03-21 19:32:12 +0100
commit6d8eecd33a521ea9016be3714d53ea4729b955e6 (patch)
tree16c9e214878686badb67076cdf3e8d102a2f0360
parent71b63195b30b2fa0dff20ebb262ce7566dd5d673 (diff)
downloadbitcoin-6d8eecd33a521ea9016be3714d53ea4729b955e6.tar.xz
refactor: Avoid implicit-integer-sign-change in createTransaction
-rw-r--r--src/wallet/interfaces.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/interfaces.cpp b/src/wallet/interfaces.cpp
index d15273dfc9..25784e0d22 100644
--- a/src/wallet/interfaces.cpp
+++ b/src/wallet/interfaces.cpp
@@ -286,7 +286,7 @@ public:
if (!res) return util::Error{util::ErrorString(res)};
const auto& txr = *res;
fee = txr.fee;
- change_pos = txr.change_pos ? *txr.change_pos : -1;
+ change_pos = txr.change_pos ? int(*txr.change_pos) : -1;
return txr.tx;
}