mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
whisper: build fix (filter)
This commit is contained in:
parent
d6eb0e0e91
commit
ab7c1e0e25
1 changed files with 2 additions and 2 deletions
|
|
@ -21,8 +21,8 @@ import "testing"
|
||||||
func TestFilters(x *testing.T) {
|
func TestFilters(x *testing.T) {
|
||||||
filters := NewFilters(nil)
|
filters := NewFilters(nil)
|
||||||
f := Filter{}
|
f := Filter{}
|
||||||
filters.Install(f)
|
filters.Install(&f)
|
||||||
i := filters.Install(f)
|
i := filters.Install(&f)
|
||||||
if i == 0 {
|
if i == 0 {
|
||||||
x.Errorf("failed install")
|
x.Errorf("failed install")
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue