Optimise contract events display (#3120)

* Adjust to last 25 events

* Adjust event address widths

* Slight column size adjustment
This commit is contained in:
Jaco Greeff
2016-11-03 12:23:53 +01:00
committed by Gav Wood
parent e4fcf4da2b
commit 3a1f3c0a80
2 changed files with 3 additions and 1 deletions

View File

@@ -312,7 +312,7 @@ class Contract extends Component {
const contract = api.newContract(account.meta.abi, params.address);
contract
.subscribe(null, { limit: 50, fromBlock: 0, toBlock: 'pending' }, this._receiveEvents)
.subscribe(null, { limit: 25, fromBlock: 0, toBlock: 'pending' }, this._receiveEvents)
.then((subscriptionId) => {
this.setState({ subscriptionId });
});