@ -445,7 +445,7 @@ CMutableTransaction ConstructTransaction(const UniValue& inputs_in, const UniVal
}
}
if ( ! rbf . isNull ( ) & & rawTx . vin . size ( ) > 0 & & rbfOptIn ! = SignalsOptInRBF ( rawTx) ) {
if ( ! rbf . isNull ( ) & & rawTx . vin . size ( ) > 0 & & rbfOptIn ! = SignalsOptInRBF ( CTransaction( rawTx) ) ) {
throw JSONRPCError ( RPC_INVALID_PARAMETER , " Invalid parameter combination: Sequence number(s) contradict replaceable option " ) ;
}
@ -517,7 +517,7 @@ static UniValue createrawtransaction(const JSONRPCRequest& request)
CMutableTransaction rawTx = ConstructTransaction ( request . params [ 0 ] , request . params [ 1 ] , request . params [ 2 ] , request . params [ 3 ] ) ;
return EncodeHexTx ( rawTx) ;
return EncodeHexTx ( CTransaction( rawTx) ) ;
}
static UniValue decoderawtransaction ( const JSONRPCRequest & request )
@ -773,7 +773,7 @@ static UniValue combinerawtransaction(const JSONRPCRequest& request)
UpdateInput ( txin , sigdata ) ;
}
return EncodeHexTx ( mergedTx) ;
return EncodeHexTx ( CTransaction( mergedTx) ) ;
}
UniValue SignTransaction ( interfaces : : Chain & chain , CMutableTransaction & mtx , const UniValue & prevTxsUnival , CBasicKeyStore * keystore , bool is_temp_keystore , const UniValue & hashType )
@ -906,7 +906,7 @@ UniValue SignTransaction(interfaces::Chain& chain, CMutableTransaction& mtx, con
bool fComplete = vErrors . empty ( ) ;
UniValue result ( UniValue : : VOBJ ) ;
result . pushKV ( " hex " , EncodeHexTx ( mtx) ) ;
result . pushKV ( " hex " , EncodeHexTx ( CTransaction( mtx) ) ) ;
result . pushKV ( " complete " , fComplete ) ;
if ( ! vErrors . empty ( ) ) {
result . pushKV ( " errors " , vErrors ) ;