From a3d62246e6926cf7d52414b3d7a04d0d8afef596 Mon Sep 17 00:00:00 2001 From: vbaranov Date: Mon, 29 Oct 2018 18:24:21 +0300 Subject: [PATCH] xDai chain fixes --- app/scripts/platforms/extension.js | 4 ++-- old-ui/app/components/transaction-list-item.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/scripts/platforms/extension.js b/app/scripts/platforms/extension.js index 3bbdfa4bc..b926ca471 100644 --- a/app/scripts/platforms/extension.js +++ b/app/scripts/platforms/extension.js @@ -123,8 +123,8 @@ class ExtensionPlatform { _getExplorer (hash, networkId) { let explorerName - if (networkId === 99 || networkId === 77) { - explorerName = 'POA explorer' + if (networkId === 99 || networkId === 100 || networkId === 77) { + explorerName = 'BlockScout' } else { explorerName = 'Etherscan' } diff --git a/old-ui/app/components/transaction-list-item.js b/old-ui/app/components/transaction-list-item.js index e6a088763..dd681e072 100644 --- a/old-ui/app/components/transaction-list-item.js +++ b/old-ui/app/components/transaction-list-item.js @@ -65,7 +65,7 @@ TransactionListItem.prototype.render = function () { let isLinkable = false const numericNet = parseInt(network) - isLinkable = numericNet === 1 || numericNet === 3 || numericNet === 4 || numericNet === 42 || numericNet === 77 || numericNet === 99 + isLinkable = numericNet === 1 || numericNet === 3 || numericNet === 4 || numericNet === 42 || numericNet === 77 || numericNet === 99 || numericNet === 100 var isMsg = ('msgParams' in transaction) var isTx = ('txParams' in transaction)