aboutsummaryrefslogtreecommitdiffstats
path: root/les/backend.go
diff options
context:
space:
mode:
authorFelföldi Zsolt <zsfelfoldi@gmail.com>2017-10-27 22:18:53 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-10-27 22:18:53 +0800
commit8d434f6a6f18c5172db9a8216d61cd50b746c964 (patch)
tree8179e0aa549035e8fdbb176b97f80c476702c21f /les/backend.go
parent6dafec06662bbfbf4d36497ff7165fc3c9129e2f (diff)
downloaddexon-8d434f6a6f18c5172db9a8216d61cd50b746c964.tar.gz
dexon-8d434f6a6f18c5172db9a8216d61cd50b746c964.tar.zst
dexon-8d434f6a6f18c5172db9a8216d61cd50b746c964.zip
les, core/bloombits: post-LES/2 fixes (#15391)
* les: fix topic ID * core/bloombits: fix interface conversion
Diffstat (limited to 'les/backend.go')
-rw-r--r--les/backend.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/les/backend.go b/les/backend.go
index 3a68d13eb..333df920e 100644
--- a/les/backend.go
+++ b/les/backend.go
@@ -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{}