rpc: [wallet] Use unsigned type for tx version in sendall
This commit is contained in:
1 file changed
+1
-1
@@ -1467,7 +1467,7 @@ RPCHelpMan sendall()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (options.exists("version")) {
|
if (options.exists("version")) {
|
||||||
coin_control.m_version = options["version"].getInt<int>();
|
coin_control.m_version = options["version"].getInt<decltype(coin_control.m_version)>();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (coin_control.m_version == TRUC_VERSION) {
|
if (coin_control.m_version == TRUC_VERSION) {
|
||||||
|
|||||||
Reference in new issue
Block a user