Merge pull request #1019 from mempool/simon/witness-interface-type-fix
Correcting minor interface typing error
This commit is contained in:
		
						commit
						7ba0055c61
					
				@ -108,7 +108,7 @@ export namespace IBitcoinApi {
 | 
				
			|||||||
    scriptPubKey: string;            //  (string) The hex-encoded scriptPubKey generated by the address
 | 
					    scriptPubKey: string;            //  (string) The hex-encoded scriptPubKey generated by the address
 | 
				
			||||||
    isscript: boolean;               //  (boolean) If the key is a script
 | 
					    isscript: boolean;               //  (boolean) If the key is a script
 | 
				
			||||||
    iswitness: boolean;              //  (boolean) If the address is a witness
 | 
					    iswitness: boolean;              //  (boolean) If the address is a witness
 | 
				
			||||||
    witness_version?: boolean;       //  (numeric, optional) The version number of the witness program
 | 
					    witness_version?: number;        //  (numeric, optional) The version number of the witness program
 | 
				
			||||||
    witness_program: string;         //  (string, optional) The hex value of the witness program
 | 
					    witness_program: string;         //  (string, optional) The hex value of the witness program
 | 
				
			||||||
    confidential_key?: string;       //  (string) Elements only
 | 
					    confidential_key?: string;       //  (string) Elements only
 | 
				
			||||||
    unconfidential?: string;         //  (string) Elements only
 | 
					    unconfidential?: string;         //  (string) Elements only
 | 
				
			||||||
 | 
				
			|||||||
@ -42,7 +42,7 @@ export interface AddressInformation {
 | 
				
			|||||||
  scriptPubKey: string;            //  (string) The hex-encoded scriptPubKey generated by the address
 | 
					  scriptPubKey: string;            //  (string) The hex-encoded scriptPubKey generated by the address
 | 
				
			||||||
  isscript: boolean;               //  (boolean) If the key is a script
 | 
					  isscript: boolean;               //  (boolean) If the key is a script
 | 
				
			||||||
  iswitness: boolean;              //  (boolean) If the address is a witness
 | 
					  iswitness: boolean;              //  (boolean) If the address is a witness
 | 
				
			||||||
  witness_version?: boolean;       //  (numeric, optional) The version number of the witness program
 | 
					  witness_version?: number;        //  (numeric, optional) The version number of the witness program
 | 
				
			||||||
  witness_program: string;         //  (string, optional) The hex value of the witness program
 | 
					  witness_program: string;         //  (string, optional) The hex value of the witness program
 | 
				
			||||||
  confidential_key?: string;       //  (string) Elements only
 | 
					  confidential_key?: string;       //  (string) Elements only
 | 
				
			||||||
  unconfidential?: string;         //  (string) Elements only
 | 
					  unconfidential?: string;         //  (string) Elements only
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user