Update @types/node and fix problems with types
This commit is contained in:
parent
f376913a4c
commit
34b0b525fc
32 changed files with 14 additions and 34 deletions
test/integration
|
@ -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(
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue