diff options
Diffstat (limited to 'lib/wallet')
-rw-r--r-- | lib/wallet/wxMessaging.ts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/wallet/wxMessaging.ts b/lib/wallet/wxMessaging.ts index 5c97248c4..c8ffd7d7e 100644 --- a/lib/wallet/wxMessaging.ts +++ b/lib/wallet/wxMessaging.ts @@ -54,7 +54,7 @@ function makeHandlers(db: IDBDatabase, ["dump-db"]: function(detail, sender) { return exportDb(db); }, - ["ping"]: function(detail, sender) { + ["get-tab-cookie"]: function(detail, sender) { if (!sender || !sender.tab || !sender.tab.id) { return Promise.resolve(); } @@ -63,6 +63,9 @@ function makeHandlers(db: IDBDatabase, delete paymentRequestCookies[id]; return Promise.resolve(info); }, + ["ping"]: function(detail, sender) { + return Promise.resolve(); + }, ["reset"]: function(detail, sender) { if (db) { let tx = db.transaction(Array.from(db.objectStoreNames), 'readwrite'); @@ -389,4 +392,4 @@ export function wxMain() { console.error("could not initialize wallet messaging"); console.error(e); }); -}
\ No newline at end of file +} |