package: bump bs58check, drop node 0.12
This commit is contained in:
parent
4aadbf5e4f
commit
14f9218389
8 changed files with 14 additions and 18 deletions
|
@ -1,7 +1,6 @@
|
|||
var baddress = require('./address')
|
||||
var bcrypto = require('./crypto')
|
||||
var bscript = require('./script')
|
||||
var bufferReverse = require('buffer-reverse')
|
||||
var networks = require('./networks')
|
||||
var ops = require('bitcoin-ops')
|
||||
var typeforce = require('typeforce')
|
||||
|
@ -299,7 +298,7 @@ TransactionBuilder.prototype.addInput = function (txHash, vout, sequence, prevOu
|
|||
// is it a hex string?
|
||||
if (typeof txHash === 'string') {
|
||||
// transaction hashs's are displayed in reverse order, un-reverse it
|
||||
txHash = bufferReverse(new Buffer(txHash, 'hex'))
|
||||
txHash = new Buffer(txHash, 'hex').reverse()
|
||||
|
||||
// is it a Transaction object?
|
||||
} else if (txHash instanceof Transaction) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue