rpc: signrawtransaction input name fix

This commit is contained in:
Node 2017-08-18 14:35:12 +04:00
parent 4fb2df7789
commit 29f9d401e4
No known key found for this signature in database
GPG Key ID: 8E1B4DC29040BD90

View File

@ -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');