package: bump bs58check, drop node 0.12

This commit is contained in:
Daniel Cousens 2016-12-21 12:52:09 +11:00 committed by Daniel Cousens
parent 4aadbf5e4f
commit 14f9218389
8 changed files with 14 additions and 18 deletions

View file

@ -95,7 +95,7 @@ describe('TransactionBuilder', function () {
var tx = new Transaction()
f.inputs.forEach(function (input) {
var txHash = [].reverse.call(new Buffer(input.txId, 'hex'))
var txHash = new Buffer(input.txId, 'hex').reverse()
tx.addInput(txHash, input.vout, undefined, bscript.fromASM(input.scriptSig))
})