Skip to content

Commit

Permalink
Merge pull request #1934 from kamilargent/fix-filter-serialisation
Browse files Browse the repository at this point in the history
Fixing `EthFilter` serialisation issue
  • Loading branch information
gtebrean authored Aug 1, 2023
2 parents 35d9d24 + 37c15da commit 65377f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
import java.util.Collections;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;

import org.web3j.protocol.core.DefaultBlockParameter;

/**
Expand Down Expand Up @@ -71,6 +73,7 @@ public List<String> getAddress() {
}

@Override
@JsonIgnore
EthFilter getThis() {
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
*/
package org.web3j.protocol.core.methods.request;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
* Filter implementation as per <a
* href="https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_newfilter">docs</a>
Expand All @@ -29,6 +31,7 @@ public String getTo() {
}

@Override
@JsonIgnore
ShhFilter getThis() {
return this;
}
Expand Down

0 comments on commit 65377f3

Please sign in to comment.