diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-06-04 18:46:32 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-06-04 18:46:32 +0200 |
commit | 8edbf426f7cf468c041cf0f87a44a68d1f6acd46 (patch) | |
tree | 9fd492e2930a934034786958773be722c2360b47 /src/webex | |
parent | c88bcce9987d4b5cc8123002485a928ff4191e94 (diff) |
nicer auditor display on withdraw
Diffstat (limited to 'src/webex')
-rw-r--r-- | src/webex/pages/confirm-create-reserve.tsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/webex/pages/confirm-create-reserve.tsx b/src/webex/pages/confirm-create-reserve.tsx index a695d9353..ca8517a25 100644 --- a/src/webex/pages/confirm-create-reserve.tsx +++ b/src/webex/pages/confirm-create-reserve.tsx @@ -115,6 +115,7 @@ class Collapsible extends React.Component<CollapsibleProps, CollapsibleState> { } function renderAuditorDetails(rci: ReserveCreationInfo|null) { + console.log("rci", rci); if (!rci) { return ( <p> @@ -132,7 +133,12 @@ function renderAuditorDetails(rci: ReserveCreationInfo|null) { return ( <div> {rci.exchangeInfo.auditors.map((a) => ( - <h3>Auditor {a.url}</h3> + <div> + <h3>Auditor {a.auditor_url}</h3> + <p>Public key: {a.auditor_pub}</p> + <p>Trusted: {rci.trustedAuditorPubs.indexOf(a.auditor_pub) >= 0 ? "yes" : "no"}</p> + <p>Audits {a.denomination_keys.length} of {rci.numOfferedDenoms} denominations</p> + </div> ))} </div> ); |