diff options
author | holisticode <holistic.computing@gmail.com> | 2019-02-07 22:49:19 +0800 |
---|---|---|
committer | Rafael Matias <rafael@skyle.net> | 2019-02-19 20:06:13 +0800 |
commit | d1ace4f344616fb6fa8643872c1f9cac89f8549e (patch) | |
tree | 807c6d7af3875e3aedc5fe6b24c463205cffab19 /swarm/swarm.go | |
parent | 637a75d61a13ee8a89a702a2eadb5ace3c79e7da (diff) | |
download | go-tangerine-d1ace4f344616fb6fa8643872c1f9cac89f8549e.tar go-tangerine-d1ace4f344616fb6fa8643872c1f9cac89f8549e.tar.gz go-tangerine-d1ace4f344616fb6fa8643872c1f9cac89f8549e.tar.bz2 go-tangerine-d1ace4f344616fb6fa8643872c1f9cac89f8549e.tar.lz go-tangerine-d1ace4f344616fb6fa8643872c1f9cac89f8549e.tar.xz go-tangerine-d1ace4f344616fb6fa8643872c1f9cac89f8549e.tar.zst go-tangerine-d1ace4f344616fb6fa8643872c1f9cac89f8549e.zip |
swarm: Debug API and HasChunks() API endpoint (#18980)
(cherry picked from commit 41597c2856d6ac7328baca1340c3e36ab0edd382)
Diffstat (limited to 'swarm/swarm.go')
-rw-r--r-- | swarm/swarm.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/swarm.go b/swarm/swarm.go index 9ece8bb66..cba4e73ef 100644 --- a/swarm/swarm.go +++ b/swarm/swarm.go @@ -485,7 +485,7 @@ func (self *Swarm) APIs() []rpc.API { { Namespace: "bzz", Version: "3.0", - Service: api.NewControl(self.api, self.bzz.Hive), + Service: api.NewInspector(self.api, self.bzz.Hive, self.netStore), Public: false, }, { |