Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/bitcoin/lib/Amount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class Amount extends Value {
return Number(this.sats) / 1e8;
}

private constructor(picoSats: bigint) {
public constructor(picoSats: bigint) {
super(picoSats);
}

Expand Down
4 changes: 2 additions & 2 deletions packages/bitcoin/lib/Value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class Value implements ICloneable<Value> {
return new Value(BigInt(0));
}

protected _picoSats: bigint;
public _picoSats: bigint;

/**
* Gets the value in picosatoshis (1/1e12 satoshis)
Expand Down Expand Up @@ -99,7 +99,7 @@ export class Value implements ICloneable<Value> {
return Math.max(0, Number(this.sats) / 1e8);
}

protected constructor(picoSats: bigint) {
public constructor(picoSats: bigint) {
this._picoSats = picoSats;
}

Expand Down
Loading