disable pin limit caching
This commit is contained in:
parent
9c1eaf9c1a
commit
3fe0baa956
@ -832,7 +832,9 @@ define([
|
|||||||
if (!pinsReady()) { return void cb('RPC_NOT_READY'); }
|
if (!pinsReady()) { return void cb('RPC_NOT_READY'); }
|
||||||
|
|
||||||
var account = common.account;
|
var account = common.account;
|
||||||
if (typeof(account.limit) !== 'number' ||
|
|
||||||
|
var ALWAYS_REVALIDATE = true;
|
||||||
|
if (ALWAYS_REVALIDATE || typeof(account.limit) !== 'number' ||
|
||||||
typeof(account.plan) !== 'string' ||
|
typeof(account.plan) !== 'string' ||
|
||||||
typeof(account.note) !== 'string') {
|
typeof(account.note) !== 'string') {
|
||||||
return void rpc.getLimit(function (e, limit, plan, note) {
|
return void rpc.getLimit(function (e, limit, plan, note) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user