aboutsummaryrefslogtreecommitdiff
path: root/src/webex
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-12-08 16:51:44 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-12-08 16:51:44 +0100
commit2e48d83b2bf01a79c882178976080dd6b75e4a30 (patch)
tree96e42c03eeb0de971e0322583365a5f9ab01200b /src/webex
parent289d2cb572bbe438d6c0a7b4ba7cd5f2507942f2 (diff)
downloadwallet-core-2e48d83b2bf01a79c882178976080dd6b75e4a30.tar.xz
nicely show version if there is a mismatch
Diffstat (limited to 'src/webex')
-rw-r--r--src/webex/pages/confirm-create-reserve.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/webex/pages/confirm-create-reserve.tsx b/src/webex/pages/confirm-create-reserve.tsx
index 53b0d635f..87e0b273f 100644
--- a/src/webex/pages/confirm-create-reserve.tsx
+++ b/src/webex/pages/confirm-create-reserve.tsx
@@ -273,16 +273,16 @@ class ExchangeSelection extends ImplicitStateComponent<ExchangeSelectionProps> {
if (rci.versionMatch.currentCmp === -1) {
return (
<p className="errorbox">
- Your wallet might be outdated. The exchange has a higher, incompatible
- protocol version.
+ Your wallet (protocol version <span>{rci.walletVersion}</span>) might be outdated. The exchange has a higher, incompatible
+ protocol version (<span>{rci.exchangeVersion}</span>).
</p>
);
}
if (rci.versionMatch.currentCmp === 1) {
return (
<p className="errorbox">
- The chosen exchange might be outdated. The exchange has a lower, incompatible
- protocol version.
+ The chosen exchange (protocol version <span>{rci.exchangeVersion}</span> might be outdated. The exchange has a lower, incompatible
+ protocol version than your wallet (protocol version <span>{rci.walletVersion}</span>).
</p>
);
}