Allow ConstructTransaction to not throw error with 0-input txn
This commit is contained in:
parent
63f8b0128b
commit
2252ec5008
1 changed files with 1 additions and 1 deletions
|
@ -436,7 +436,7 @@ CMutableTransaction ConstructTransaction(const UniValue& inputs_in, const UniVal
|
|||
}
|
||||
}
|
||||
|
||||
if (!rbf.isNull() && rbfOptIn != SignalsOptInRBF(rawTx)) {
|
||||
if (!rbf.isNull() && rawTx.vin.size() > 0 && rbfOptIn != SignalsOptInRBF(rawTx)) {
|
||||
throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid parameter combination: Sequence number(s) contradict replaceable option");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue