Skip to content

Commit

Permalink
remove some noisy debug statements;
Browse files Browse the repository at this point in the history
  • Loading branch information
sosaucily committed Sep 30, 2024
1 parent 0a35add commit b12c077
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/network-handlers/ripple-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ function decodeNftURI(URI: string): RawVault {
try {
VERSION = parseInt(URI.slice(0, 2), 16);

Check failure on line 50 in src/network-handlers/ripple-handler.ts

View workflow job for this annotation

GitHub Actions / lint-eslint

'VERSION' is assigned a value but never used
status = parseInt(URI.slice(2, 4), 16);
console.log(`Decoding URI: ${URI}`);
uuid = URI.slice(4, 68);
valueLocked = BigNumber.from(`0x${URI.slice(68, 84)}`);
valueMinted = BigNumber.from(`0x${URI.slice(84, 100)}`);
Expand All @@ -70,9 +69,9 @@ function decodeNftURI(URI: string): RawVault {
console.log(`URI which failed to Decode: ${URI}`);
return {} as RawVault;
}
console.log(
`Decoded URI: Version: ${VERSION}, status: ${status}, UUID: ${uuid}, valueLocked: ${valueLocked}, valueMinted: ${valueMinted}, fundingTxId: ${fundingTxId}, wdTxId: ${wdTxId}, btcMintFeeBasisPoints: ${btcMintFeeBasisPoints}, btcRedeemFeeBasisPoints: ${btcRedeemFeeBasisPoints}, btcFeeRecipient: ${btcFeeRecipient} , taprootPubKey: ${taprootPubKey}`
);
// console.log(
// `Decoded URI: Version: ${VERSION}, status: ${status}, UUID: ${uuid}, valueLocked: ${valueLocked}, valueMinted: ${valueMinted}, fundingTxId: ${fundingTxId}, wdTxId: ${wdTxId}, btcMintFeeBasisPoints: ${btcMintFeeBasisPoints}, btcRedeemFeeBasisPoints: ${btcRedeemFeeBasisPoints}, btcFeeRecipient: ${btcFeeRecipient} , taprootPubKey: ${taprootPubKey}`
// );
const baseVault = buildDefaultNftVault();
return {
...baseVault,
Expand Down

0 comments on commit b12c077

Please sign in to comment.