mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
add support for existing vins for fundrawtransaction
This commit is contained in:
parent
018828d666
commit
cd42202ac3
4 changed files with 341 additions and 47 deletions
|
|
@ -793,9 +793,6 @@ Value fundrawtransaction(const Array& params, bool fHelp)
|
|||
if (!DecodeHexTx(tx, params[0].get_str()))
|
||||
throw JSONRPCError(RPC_DESERIALIZATION_ERROR, "TX decode failed");
|
||||
|
||||
if (tx.vin.size() > 0)
|
||||
throw JSONRPCError(RPC_INVALID_PARAMETER, "fundrawtransaction only supports transactions with zero exiting vins");
|
||||
|
||||
CMutableTransaction txNew;
|
||||
CAmount nFeeRet;
|
||||
string strFailReason;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue