fix: jubilee height condition

This commit is contained in:
Gaze
2024-06-10 14:07:36 +07:00
parent 2c016f36c1
commit 7c23b93751

View File

@@ -134,7 +134,7 @@ func (p *Processor) processInscriptionTx(ctx context.Context, tx *types.Transact
}
}
// inscriptions are no longer cursed after jubilee, but BRC20 still considers them as cursed
if cursed && uint64(tx.BlockHeight) > ordinals.GetJubileeHeight(p.network) {
if cursed && uint64(tx.BlockHeight) >= ordinals.GetJubileeHeight(p.network) {
cursed = false
}