diff --git a/en/15/02.md b/en/15/02.md index 5ccbd519d9..fc08c54cfc 100644 --- a/en/15/02.md +++ b/en/15/02.md @@ -198,13 +198,13 @@ myContract.events.EventName(async (err, event) => { The above snippet just listens for an event called `EventName`. For more complex use cases, you could also specify a `filter` like so: ```JavaScript -myContract.events.EventName({ filter: { myParam: 1 } ,async (err, event) => { - if (err) { - console.error('Error on event', err) - return - } - // Do something - }) +myContract.events.EventName({ filter: { myParam: 1 } }, async (err, event) => { + if (err) { + console.error('Error on event', err) + return + } + // Do something +}) ```