mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
refactor: Avoid implicit-integer-sign-change in createTransaction
This commit is contained in:
parent
71b63195b3
commit
6d8eecd33a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue