Skip to content

Commit

Permalink
scriptPubKey
Browse files Browse the repository at this point in the history
  • Loading branch information
Matvei Vasily committed Jan 10, 2020
1 parent 29512d5 commit 38093d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/blockbook.ts
Expand Up @@ -71,7 +71,7 @@ export class BlockBookDriver implements driver.Driver {
txid: utxo.txid,
vout: utxo.vout,
address: address,
script: tx.vout[0].scriptPubKey.hex,
script: tx.vout[utxo.vout].scriptPubKey.hex,
satoshis: Math.floor(utxo.satoshis / 100)
}));
}
Expand Down

0 comments on commit 38093d0

Please sign in to comment.