Skip to content

Commit

Permalink
fix: use a simpler stringified int
Browse files Browse the repository at this point in the history
Co-authored-by: buck <[email protected]>
  • Loading branch information
Shadouts and bucko13 authored Dec 15, 2023
1 parent e3b89d4 commit 9ee5cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/outputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function validateOutput(network, output, inputsTotalSats?) {
/**
* Lowest acceptable output amount in Satoshis.
*/
const DUST_LIMIT_SATS = new BigNumber(546).toString();
const DUST_LIMIT_SATS = 546

Check failure on line 64 in src/outputs.ts

View workflow job for this annotation

GitHub Actions / build (14.x)

Invalid character.

Check failure on line 64 in src/outputs.ts

View workflow job for this annotation

GitHub Actions / build (14.x)

Variable declaration expected.

Check failure on line 64 in src/outputs.ts

View workflow job for this annotation

GitHub Actions / build (14.x)

Invalid character.

Check failure on line 64 in src/outputs.ts

View workflow job for this annotation

GitHub Actions / build (16.x)

Invalid character.

Check failure on line 64 in src/outputs.ts

View workflow job for this annotation

GitHub Actions / build (16.x)

Variable declaration expected.

Check failure on line 64 in src/outputs.ts

View workflow job for this annotation

GitHub Actions / build (16.x)

Invalid character.

Check failure on line 64 in src/outputs.ts

View workflow job for this annotation

GitHub Actions / build (18.x)

Invalid character.

Check failure on line 64 in src/outputs.ts

View workflow job for this annotation

GitHub Actions / build (18.x)

Variable declaration expected.

Check failure on line 64 in src/outputs.ts

View workflow job for this annotation

GitHub Actions / build (18.x)

Invalid character.

/**
* Validate the given output amount (in Satoshis).
Expand Down

0 comments on commit 9ee5cd4

Please sign in to comment.