Skip to content

Commit

Permalink
additional ordinals tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-babylonlabs committed Jul 25, 2024
1 parent e87e724 commit 1890cfd
Show file tree
Hide file tree
Showing 3 changed files with 624 additions and 17 deletions.
4 changes: 2 additions & 2 deletions internal/services/ordinals.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ func (s *Services) verifyViaUnisatService(
var results []*SafeUTXOPublic
for _, utxo := range utxos {
key := fmt.Sprintf("%s:%d", utxo.Txid, utxo.Vout)
_, ok := inscriptionsUtxosMap[key]
inscriptions, ok := inscriptionsUtxosMap[key]
results = append(results, &SafeUTXOPublic{
TxId: utxo.Txid,
Vout: utxo.Vout,
Inscription: ok,
Inscription: ok && len(inscriptions) > 0,
})
}
return results, nil
Expand Down
Loading

0 comments on commit 1890cfd

Please sign in to comment.