diff --git a/lib/http/rpc.js b/lib/http/rpc.js index a9166591..1005a85d 100644 --- a/lib/http/rpc.js +++ b/lib/http/rpc.js @@ -1644,7 +1644,7 @@ RPC.prototype.createRawTransaction = async function createRawTransaction(args, h if (locktime != null) tx.locktime = locktime; - for (const obj of tx.inputs) { + for (const obj of inputs) { const valid = new Validator([obj]); const hash = valid.hash('txid'); const index = valid.u32('vout');