Optimise contract events display (#3120)
* Adjust to last 25 events * Adjust event address widths * Slight column size adjustment
This commit is contained in:
@@ -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 });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user