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.
|
||||
*/
|
||||
timestamp_refund: number;
|
||||
|
||||
userAccepted: boolean;
|
||||
}
|
||||
|
||||
|
||||
|
@ -484,8 +484,9 @@ function handleBankRequest(wallet: Wallet, headerList: chrome.webRequest.HttpHea
|
||||
if (reservePub !== undefined) {
|
||||
console.log(`confirming reserve ${reservePub} via 201`);
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user