[beta] Etherscan links (#4772) (#4778)

* Etherscan links (#4772)

* Port tests

* update address links

* Signer accountlink isTest
This commit is contained in:
Jaco Greeff
2017-03-06 12:09:00 +01:00
committed by Arkadiy Paronyan
parent 02be8d869c
commit 260bcfd368
41 changed files with 365 additions and 174 deletions

View File

@@ -25,7 +25,7 @@ import txListStyles from '~/ui/TxList/txList.css';
export default class WalletTransactions extends Component {
static propTypes = {
address: PropTypes.string.isRequired,
isTest: PropTypes.bool.isRequired,
netVersion: PropTypes.string.isRequired,
transactions: PropTypes.array
};
@@ -43,7 +43,7 @@ export default class WalletTransactions extends Component {
);
}
renderTransactions () {
const { address, isTest, transactions } = this.props;
const { address, netVersion, transactions } = this.props;
if (!transactions) {
return null;
@@ -62,6 +62,7 @@ export default class WalletTransactions extends Component {
return (
<TxRow
netVersion={ netVersion }
key={ `${transactionHash}_${index}` }
tx={ {
hash: transactionHash,
@@ -69,7 +70,6 @@ export default class WalletTransactions extends Component {
blockNumber, from, to, value
} }
address={ address }
isTest={ isTest }
/>
);
});