* Etherscan links (#4772) * Port tests * update address links * Signer accountlink isTest
This commit is contained in:
committed by
Arkadiy Paronyan
parent
02be8d869c
commit
260bcfd368
@@ -35,7 +35,7 @@ class TxList extends Component {
|
||||
PropTypes.array,
|
||||
PropTypes.object
|
||||
]).isRequired,
|
||||
isTest: PropTypes.bool.isRequired
|
||||
netVersion: PropTypes.string.isRequired
|
||||
}
|
||||
|
||||
store = new Store(this.context.api);
|
||||
@@ -63,7 +63,7 @@ class TxList extends Component {
|
||||
}
|
||||
|
||||
renderRows () {
|
||||
const { address, isTest } = this.props;
|
||||
const { address, netVersion } = this.props;
|
||||
|
||||
return this.store.sortedHashes.map((txhash) => {
|
||||
const tx = this.store.transactions[txhash];
|
||||
@@ -76,7 +76,7 @@ class TxList extends Component {
|
||||
tx={ tx }
|
||||
block={ block }
|
||||
address={ address }
|
||||
isTest={ isTest }
|
||||
netVersion={ netVersion }
|
||||
/>
|
||||
);
|
||||
});
|
||||
@@ -84,10 +84,10 @@ class TxList extends Component {
|
||||
}
|
||||
|
||||
function mapStateToProps (state) {
|
||||
const { isTest } = state.nodeStatus;
|
||||
const { netVersion } = state.nodeStatus;
|
||||
|
||||
return {
|
||||
isTest
|
||||
netVersion
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user