refactor: Avoid implicit-integer-sign-change in createTransaction
This commit is contained in:
1 parent
71b63195b3
commit
6d8eecd33a
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user