tests: use safe-buffers throughout

This commit is contained in:
Daniel Cousens 2017-04-19 17:39:16 +10:00 committed by Daniel Cousens
parent aeb0312d63
commit f1ab151c31
20 changed files with 88 additions and 94 deletions
test/integration

View file

@ -60,7 +60,7 @@ describe('bitcoinjs-lib (BIP32)', function () {
var d1 = child.keyPair.d
var d2
var data = new Buffer(37)
var data = Buffer.alloc(37)
serQP.copy(data, 0)
// search index space until we find it