les, core/bloombits: post-LES/2 fixes (#15391)

* les: fix topic ID

* core/bloombits: fix interface conversion
This commit is contained in:
Felföldi Zsolt
2017-10-27 17:18:53 +03:00
committed by Péter Szilágyi
parent 6dafec0666
commit 8d434f6a6f
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ func lesTopic(genesisHash common.Hash, protocolVersion uint) discv5.Topic {
default:
panic(nil)
}
return discv5.Topic(name + common.Bytes2Hex(genesisHash.Bytes()[0:8]))
return discv5.Topic(name + "@" + common.Bytes2Hex(genesisHash.Bytes()[0:8]))
}
type LightDummyAPI struct{}