Skip to content

Commit

Permalink
refactor: Avoid implicit-integer-sign-change in createTransaction
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoFalke committed Mar 21, 2024
1 parent 71b6319 commit 6d8eecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/interfaces.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ class WalletImpl : public Wallet
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;
}
Expand Down

0 comments on commit 6d8eecd

Please sign in to comment.