Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Fix contract method name (#3580)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngotchac authored and jacogr committed Nov 23, 2016
1 parent 24ffb30 commit 93f8a14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/api/contract/contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit 93f8a14

Please sign in to comment.