Initially I getting an identity and save the user identity in my localstorage ,and then send a transaction successfully. And when I try to refresh the page without sign it again, I hope to finish the new transaction by the cache identity before the cache expired. The problem I met is that I can use the cache identity do something before I send a transaction?
This is re-transction error without getting identity.
Error: No Identity
at scatterjs-core.min.js:28
at scatterjs-plugin-eosjs.min.js:1
at f (scatterjs-plugin-eosjs.min.js:1)
at Generator._invoke (scatterjs-plugin-eosjs.min.js:1)
at Generator.t. [as next] (scatterjs-plugin-eosjs.min.js:1)
at e (scatterjs-plugin-eosjs.min.js:1)
at a (scatterjs-plugin-eosjs.min.js:1)
at scatterjs-plugin-eosjs.min.js:1
at new Promise ()
at scatterjs-plugin-eosjs.min.js:1
Hi, @nsjames
Initially I getting an identity and save the user identity in my localstorage ,and then send a transaction successfully. And when I try to refresh the page without sign it again, I hope to finish the new transaction by the cache identity before the cache expired. The problem I met is that I can use the cache identity do something before I send a transaction?
This is getIdentity codes.