only warn when actually necessary
This commit is contained in:
parent
9b18c87deb
commit
6594355704
@ -1787,6 +1787,8 @@ export interface PurchaseRecord {
|
|||||||
* Set to 0 if no refund was made on the purchase.
|
* Set to 0 if no refund was made on the purchase.
|
||||||
*/
|
*/
|
||||||
timestamp_refund: number;
|
timestamp_refund: number;
|
||||||
|
|
||||||
|
userAccepted: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -484,8 +484,9 @@ function handleBankRequest(wallet: Wallet, headerList: chrome.webRequest.HttpHea
|
|||||||
if (reservePub !== undefined) {
|
if (reservePub !== undefined) {
|
||||||
console.log(`confirming reserve ${reservePub} via 201`);
|
console.log(`confirming reserve ${reservePub} via 201`);
|
||||||
wallet.confirmReserve({reservePub});
|
wallet.confirmReserve({reservePub});
|
||||||
|
} else {
|
||||||
|
console.warn("got 'X-Taler-Operation: confirm-reserve' without 'X-Taler-Reserve-Pub'");
|
||||||
}
|
}
|
||||||
console.warn("got 'X-Taler-Operation: confirm-reserve' without 'X-Taler-Reserve-Pub'");
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user