Remove private __byteLength from Transaction
This commit is contained in:
parent
48bf08c0d3
commit
10fcf3d9e1
5 changed files with 50 additions and 60 deletions
types
3
types/transaction.d.ts
vendored
3
types/transaction.d.ts
vendored
|
@ -30,7 +30,7 @@ export declare class Transaction {
|
|||
hasWitnesses(): boolean;
|
||||
weight(): number;
|
||||
virtualSize(): number;
|
||||
byteLength(): number;
|
||||
byteLength(_ALLOW_WITNESS?: boolean): number;
|
||||
clone(): Transaction;
|
||||
/**
|
||||
* Hash transaction for signing a specific input.
|
||||
|
@ -48,6 +48,5 @@ export declare class Transaction {
|
|||
toHex(): string;
|
||||
setInputScript(index: number, scriptSig: Buffer): void;
|
||||
setWitness(index: number, witness: Buffer[]): void;
|
||||
private __byteLength;
|
||||
private __toBuffer;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue