Skip to content

[Contract] RemittanceNFT β€” burn_internal() Doesn't Remove TransferCooldownΒ #296

@ogazboiz

Description

@ogazboiz

πŸ’¬ Want to contribute? Join us on Telegram: https://t.me/+DOylgFv1jyJlNzM0

Problem

When burn_internal() cleans up user state, it removes Metadata, Score, ScoreHistory, Seized, DefaultCount, Burned, and RemintApproval β€” but NOT TransferCooldown. If a burned user later remints, the old cooldown could still apply unexpectedly.

Fix

Add env.storage().persistent().remove(&DataKey::TransferCooldown(user.clone())); to burn_internal().

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions