diff --git a/lib/http/rpc.js b/lib/http/rpc.js index 1005a85d..ce40e1fc 100644 --- a/lib/http/rpc.js +++ b/lib/http/rpc.js @@ -1833,7 +1833,7 @@ RPC.prototype.signRawTransaction = async function signRawTransaction(args, help) for (const prev of prevout) { const valid = new Validator([prev]); const hash = valid.hash('txid'); - const index = valid.u32('index'); + const index = valid.u32('vout'); const scriptRaw = valid.buf('scriptPubKey'); const value = valid.ufixed('amount', 8); const redeemRaw = valid.buf('redeemScript');