Fix contract method name (#3580)

This commit is contained in:
Nicolas Gotchac 2016-11-23 13:59:21 +01:00 committed by Jaco Greeff
parent 24ffb30bc2
commit 93f8a1494e

View File

@ -389,7 +389,7 @@ export default class Contract {
const subscriptions = Object.values(this._subscriptions)
.filter((s) => s.options.toBlock && s.options.toBlock === 'pending');
const timeout = () => setTimeout(() => this._subscribeFromPendings(), 1000);
const timeout = () => setTimeout(() => this._subscribeToPendings(), 1000);
this._sendSubscriptionChanges(subscriptions)
.then(() => {