We have been calculating sk and pk from wif every time we need them for ecash-lib txs. This was not particularly complicated when we were still using sendXec for all txs in Cashtab. However, with advanced tx construction methods provided by ecash-agora, we now to to calculate sk and pk in many places throughout Cashtab.
These values should be calculated when Cashtab first loads its wallets, not recalculated for every tx.
Migrate wallets to include these values.