From ded02bf11f31c7b9d9cf8b2c863485a491b4c0ae Mon Sep 17 00:00:00 2001
From: Florian Dold <florian.dold@gmail.com>
Date: Tue, 15 Nov 2016 15:07:17 +0100
Subject: renaming / dce

---
 src/pages/confirm-contract.tsx | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

(limited to 'src/pages/confirm-contract.tsx')

diff --git a/src/pages/confirm-contract.tsx b/src/pages/confirm-contract.tsx
index 2beac08f6..238ae2fb5 100644
--- a/src/pages/confirm-contract.tsx
+++ b/src/pages/confirm-contract.tsx
@@ -24,8 +24,8 @@
 "use strict";
 
 import {substituteFulfillmentUrl} from "src/helpers";
-import {Contract, AmountJson, IExchangeInfo} from "src/types";
-import {Offer} from "src/wallet";
+import {Contract, AmountJson, ExchangeRecord} from "src/types";
+import {OfferRecord} from "src/wallet";
 import {renderContract, prettyAmount} from "src/renderHtml";
 import {getExchanges} from "src/wxApi";
 
@@ -37,7 +37,7 @@ interface DetailState {
 interface DetailProps {
   contract: Contract
   collapsed: boolean
-  exchanges: null|IExchangeInfo[];
+  exchanges: null|ExchangeRecord[];
 }
 
 
@@ -78,7 +78,7 @@ class Details extends React.Component<DetailProps, DetailState> {
             Exchanges in the wallet:
             <ul>
               {(this.props.exchanges || []).map(
-                (e: IExchangeInfo) =>
+                (e: ExchangeRecord) =>
                   <li>{`${e.baseUrl}: ${e.masterPublicKey}`}</li>)}
             </ul>
           </div>
@@ -92,10 +92,10 @@ interface ContractPromptProps {
 }
 
 interface ContractPromptState {
-  offer: Offer|null;
+  offer: OfferRecord|null;
   error: string|null;
   payDisabled: boolean;
-  exchanges: null|IExchangeInfo[];
+  exchanges: null|ExchangeRecord[];
 }
 
 class ContractPrompt extends React.Component<ContractPromptProps, ContractPromptState> {
@@ -125,7 +125,7 @@ class ContractPrompt extends React.Component<ContractPromptProps, ContractPrompt
     this.setState({exchanges} as any);
   }
 
-  getOffer(): Promise<Offer> {
+  getOffer(): Promise<OfferRecord> {
     return new Promise((resolve, reject) => {
       let msg = {
         type: 'get-offer',
-- 
cgit v1.2.3

