Merge branch 'master' into jg-subscription-check

This commit is contained in:
Jaco Greeff
2016-12-09 02:34:07 +01:00
10 changed files with 31 additions and 194 deletions

View File

@@ -262,12 +262,11 @@ export default class Contract {
}
const options = this._getFilterOptions(event, _options);
options.fromBlock = 0;
options.toBlock = 'latest';
return this._api.eth
.getLogs({
fromBlock: 0,
toBlock: 'latest',
...options
})
.getLogs(options)
.then((logs) => this.parseEventLogs(logs));
}