From 1c8206f8c0c8921643aa1b070fbe6648411300fe Mon Sep 17 00:00:00 2001
From: Florian Dold <florian.dold@gmail.com>
Date: Wed, 24 May 2017 16:14:23 +0200
Subject: remove dead code and add comments

---
 src/pages/popup.tsx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'src/pages/popup.tsx')

diff --git a/src/pages/popup.tsx b/src/pages/popup.tsx
index 9b375097f..c0d280db7 100644
--- a/src/pages/popup.tsx
+++ b/src/pages/popup.tsx
@@ -25,7 +25,6 @@
 
 "use strict";
 
-import {substituteFulfillmentUrl} from "../helpers";
 import BrowserClickedEvent = chrome.browserAction.BrowserClickedEvent;
 import {HistoryRecord, HistoryLevel} from "../wallet";
 import {
@@ -372,8 +371,7 @@ function formatHistoryItem(historyItem: HistoryRecord) {
       );
     }
     case "pay": {
-      let url = substituteFulfillmentUrl(d.fulfillmentUrl,
-                                         {H_contract: d.contractHash});
+      let url = d.fulfillmentUrl;
       let merchantElem = <em>{abbrev(d.merchantName, 15)}</em>;
       let fulfillmentLinkElem = <a href={url} onClick={openTab(url)}>view product</a>;
       return (
-- 
cgit v1.2.3

