From c87a0d55145f140b1f104437ecdd1a1ca1040186 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 11 Dec 2017 17:46:06 +0100 Subject: show next url to go after tipping --- src/wallet.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/wallet.ts') diff --git a/src/wallet.ts b/src/wallet.ts index 1966db768..a597fd5bc 100644 --- a/src/wallet.ts +++ b/src/wallet.ts @@ -329,7 +329,7 @@ export const WALLET_PROTOCOL_VERSION = "2:0:0"; * In the future we might consider adding migration functions for * each version increment. */ -export const WALLET_DB_VERSION = 21; +export const WALLET_DB_VERSION = 22; const builtinCurrencies: CurrencyRecord[] = [ { @@ -2862,7 +2862,7 @@ export class Wallet { * Get planchets for a tip. Creates new planchets if they don't exist already * for this tip. The tip is uniquely identified by the merchant's domain and the tip id. */ - async getTipPlanchets(merchantDomain: string, tipId: string, amount: AmountJson, deadline: number, exchangeUrl: string): Promise { + async getTipPlanchets(merchantDomain: string, tipId: string, amount: AmountJson, deadline: number, exchangeUrl: string, nextUrl: string): Promise { let tipRecord = await this.q().get(Stores.tips, [tipId, merchantDomain]); if (!tipRecord) { await this.updateExchangeFromUrl(exchangeUrl); @@ -2876,6 +2876,7 @@ export class Wallet { deadline, exchangeUrl, merchantDomain, + nextUrl, planchets, tipId, }; -- cgit v1.2.3