Web3 Filtering events by arguments not working

JackBBJackBB Posts: 11Member
Have event in my contract looked like this:
```
event LogEvent(uint indexed lockId, string dataInfo, uint indexed version, uint16 eventType, address indexed sender, uint payment);
```
from web3 I try to watch like this:
```
event=contract.LogEvent({eventType: 1},{fromBlock: 0, toBlock: 'latest'});
```
And it's return me Logs with all status but not only with event type '1'.

Comments

Sign In or Register to comment.