AntelopeIO / reference-contracts

Other
10 stars 14 forks source link

is there a reason for unregprod to leave the entry #5

Open cc32d9 opened 2 years ago

cc32d9 commented 2 years ago

unregprod marks an entry in producer_info as inactive and erases the key, instead of deleting it.

As a result, the table only grows and consumes the memory without a need.

is anything preventing us from deleting the entry on unreg?