Update @types/node and fix problems with types

This commit is contained in:
junderw 2019-09-12 15:20:33 +09:00
parent f376913a4c
commit 34b0b525fc
No known key found for this signature in database
GPG key ID: B256185D3A971908
32 changed files with 14 additions and 34 deletions
test/integration

View file

@ -10,7 +10,7 @@ function toOutputScript(address: string): Buffer {
}
function idToHash(txid: string): Buffer {
return Buffer.from(txid, 'hex').reverse() as Buffer;
return Buffer.from(txid, 'hex').reverse();
}
const alice = bitcoin.ECPair.fromWIF(

View file

@ -10,7 +10,7 @@ function toOutputScript(address: string): Buffer {
}
function idToHash(txid: string): Buffer {
return Buffer.from(txid, 'hex').reverse() as Buffer;
return Buffer.from(txid, 'hex').reverse();
}
const alice = bitcoin.ECPair.fromWIF(