Narwallets / meta-pool

NEAR protocol Meta Staking Pool, tokenized stake, liquid unstake, stNEAR, $META

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

META: ensure user|operator|treasury|developer are all DIFFERENT ACCOUNTS

luciotato opened this issue · comments

There's a point where all those accounts are read into memory, updated (sell, fees, etc) and then stored again.
IF any one of those accounts is the same as another, the latest account to be stored will write-over other changes.
Solution: Ensure user|operator|treasury|developer are all DIFFERENT ACCOUNTS