mirror of
https://github.com/alexgo-io/gaze-brc20-indexer.git
synced 2026-01-12 22:22:19 +08:00
fix: bug transfer inscription in same block as inscribe
This commit is contained in:
@@ -481,7 +481,7 @@ func (p *Processor) getInscriptionTransfersInOutPoints(ctx context.Context, outP
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (p *Processor) getInscriptionEntryById(ctx context.Context, id ordinals.InscriptionId) (*ordinals.InscriptionEntry, error) {
|
func (p *Processor) getInscriptionEntryById(ctx context.Context, id ordinals.InscriptionId) (*ordinals.InscriptionEntry, error) {
|
||||||
inscriptions, err := p.brc20Dg.GetInscriptionEntriesByIds(ctx, []ordinals.InscriptionId{id})
|
inscriptions, err := p.getInscriptionEntriesByIds(ctx, []ordinals.InscriptionId{id})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errors.Wrap(err, "failed to get inscriptions by outpoint")
|
return nil, errors.Wrap(err, "failed to get inscriptions by outpoint")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user