diff options
Diffstat (limited to 'src/wallet.ts')
-rw-r--r-- | src/wallet.ts | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/wallet.ts b/src/wallet.ts index 00a82f92c..e90a6e3db 100644 --- a/src/wallet.ts +++ b/src/wallet.ts @@ -701,7 +701,6 @@ export class Wallet { contractTermsHash: proposal.contractTermsHash, finished: false, lastSessionId: undefined, - lastSessionSig: undefined, merchantSig: proposal.merchantSig, payReq, refundsDone: {}, @@ -1134,25 +1133,6 @@ export class Wallet { return { status: "payment-possible", coinSelection: res }; } - /** - * Retrieve information required to pay for a contract, where the - * contract is identified via the fulfillment url. - */ - async queryPaymentByFulfillmentUrl( - url: string, - ): Promise<PurchaseRecord | undefined> { - const t = await this.q().getIndexed( - Stores.purchases.fulfillmentUrlIndex, - url, - ); - - if (!t) { - console.log("query for payment failed"); - return undefined; - } - return t; - } - private async sendReserveInfoToBank(reservePub: string) { const reserve = await this.q().get<ReserveRecord>( Stores.reserves, |