chore: golangci-lint

This commit is contained in:
Gaze
2024-07-09 15:48:09 +07:00
parent 47119c3220
commit 694baef0aa

View File

@@ -479,7 +479,7 @@ func (p *Processor) txCommitsToRune(ctx context.Context, tx *types.Transaction,
break
}
// input must be mature enough
confirmations := tx.BlockHeight - int64(blockHeight) + 1
confirmations := tx.BlockHeight - blockHeight + 1
if confirmations < runes.RUNE_COMMIT_BLOCKS {
continue
}