refactor: Avoid implicit-integer-sign-change in createTransaction

This commit is contained in:
MarcoFalke 2024-03-21 19:29:14 +01:00
parent 71b63195b3
commit 6d8eecd33a
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}