tests: use safe-buffers throughout
This commit is contained in:
parent
aeb0312d63
commit
f1ab151c31
20 changed files with 88 additions and 94 deletions
test/integration
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue