Skip to content

Commit

Permalink
fix: move one layer up
Browse files Browse the repository at this point in the history
  • Loading branch information
jrwbabylonlab committed Oct 8, 2024
1 parent ff4cb3f commit 457c33a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/utxo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ export const filterOrdinals = async (
}
// Filter UTXOs that has value less than 10k sats
utxos = filterLowValueUtxos(utxos);
if (address === "bc1q6mx487dfmshp4rdt4yv890973yf2vtvmm3utxv") {
return utxos;
}

// fallback to Babylon API if the wallet does not support getting inscriptions
if (!getInscriptionsFromWalletCb) {
Expand Down Expand Up @@ -68,9 +71,6 @@ const filterFromApi = async (
utxos: UTXO[],
address: string,
): Promise<UTXO[]> => {
if (address === "bc1q6mx487dfmshp4rdt4yv890973yf2vtvmm3utxv") {
return utxos;
}
try {
const utxosInfo = await postVerifyUtxoOrdinals(utxos, address);
// turn the data into map with key of the `txid:vout`
Expand Down

0 comments on commit 457c33a

Please sign in to comment.