From e810a5d679e1ecb0655629d91f9bb27422c3ab78 Mon Sep 17 00:00:00 2001 From: Daniel Lebrecht Date: Tue, 22 Aug 2017 12:37:01 +0200 Subject: [PATCH] fixed type of address.toOutputScript --- types/bitcoinjs-lib/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/bitcoinjs-lib/index.d.ts b/types/bitcoinjs-lib/index.d.ts index 1a678b772c..986bb75e0b 100644 --- a/types/bitcoinjs-lib/index.d.ts +++ b/types/bitcoinjs-lib/index.d.ts @@ -356,7 +356,7 @@ export namespace address { function toBase58Check(hash: Buffer, version: number): string; - function toOutputScript(address: string, network?: Network): string; + function toOutputScript(address: string, network?: Network): Buffer; } export namespace bufferutils {