aboutsummaryrefslogtreecommitdiffstats
path: root/dex/api.go
diff options
context:
space:
mode:
authorSonic <sonic@dexon.org>2019-05-05 16:16:51 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-09-17 16:57:29 +0800
commitfd5fe8ff4b792bfdeead046297bbf7919c0a0361 (patch)
tree04abea712db9228e652e65b2e9c5d1b3ca830585 /dex/api.go
parentce2badf50de9eb7897e98818822dc23d5d86fa3c (diff)
downloadgo-tangerine-fd5fe8ff4b792bfdeead046297bbf7919c0a0361.tar
go-tangerine-fd5fe8ff4b792bfdeead046297bbf7919c0a0361.tar.gz
go-tangerine-fd5fe8ff4b792bfdeead046297bbf7919c0a0361.tar.bz2
go-tangerine-fd5fe8ff4b792bfdeead046297bbf7919c0a0361.tar.lz
go-tangerine-fd5fe8ff4b792bfdeead046297bbf7919c0a0361.tar.xz
go-tangerine-fd5fe8ff4b792bfdeead046297bbf7919c0a0361.tar.zst
go-tangerine-fd5fe8ff4b792bfdeead046297bbf7919c0a0361.zip
rpc: notary info (#397)
Diffstat (limited to 'dex/api.go')
-rw-r--r--dex/api.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/dex/api.go b/dex/api.go
index 70976f071..991926740 100644
--- a/dex/api.go
+++ b/dex/api.go
@@ -139,6 +139,10 @@ func (api *PrivateAdminAPI) IsProposing() bool {
return api.dex.IsProposing()
}
+func (api *PrivateAdminAPI) NotaryInfo() (*NotaryInfo, error) {
+ return api.dex.protocolManager.NotaryInfo()
+}
+
// PublicDebugAPI is the collection of Ethereum full node APIs exposed
// over the public debugging endpoint.
type PublicDebugAPI struct {