p2p/filter/pubkey -> p2p/filter/id

This commit is contained in:
Ethan Buchman
2018-06-06 16:13:51 -07:00
parent 6b8613b3e7
commit 89925501f3
3 changed files with 4 additions and 2 deletions

View File

@ -302,7 +302,7 @@ func NewNode(config *cfg.Config,
return nil
})
sw.SetIDFilter(func(id p2p.ID) error {
resQuery, err := proxyApp.Query().QuerySync(abci.RequestQuery{Path: cmn.Fmt("/p2p/filter/pubkey/%s", id)})
resQuery, err := proxyApp.Query().QuerySync(abci.RequestQuery{Path: cmn.Fmt("/p2p/filter/id/%s", id)})
if err != nil {
return err
}