Handle changes to address RPC api in bitcoin core 22

fixes #778
This commit is contained in:
softsimon
2021-09-14 19:28:47 +04:00
parent 2236c6d9a6
commit 3e788ecbf9
4 changed files with 7 additions and 5 deletions

View File

@@ -90,9 +90,10 @@ export namespace IBitcoinApi {
scriptPubKey: { // (json object)
asm: string; // (string) the asm
hex: string; // (string) the hex
reqSigs: number; // (numeric) The required sigs
reqSigs?: number; // (numeric) The required sigs
type: string; // (string) The type, eg 'pubkeyhash'
addresses: string[] // (string) bitcoin address
addresses?: string[] // (string) bitcoin addresses
address?: string // (string) bitcoin address
};
}