diff options
Diffstat (limited to 'content_scripts/notify.ts')
-rw-r--r-- | content_scripts/notify.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/content_scripts/notify.ts b/content_scripts/notify.ts index 4d4978817..978e7e9a0 100644 --- a/content_scripts/notify.ts +++ b/content_scripts/notify.ts @@ -32,7 +32,6 @@ namespace TalerNotify { const PROTOCOL_VERSION = 1; - let taler: any; if (!taler) { console.error("Taler wallet lib not included, HTTP 402 payments not" + " supported"); @@ -76,7 +75,7 @@ namespace TalerNotify { } else if (resp && resp.type === "execute") { console.log("it's execute"); document.documentElement.style.visibility = "hidden"; - taler.internalExecuteContract(resp.contractHash, + taler.internalExecutePayment(resp.contractHash, resp.payUrl, resp.offerUrl); } |