diff options
author | Sonic <sonic@dexon.org> | 2019-05-05 16:16:51 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-09-17 16:57:29 +0800 |
commit | fd5fe8ff4b792bfdeead046297bbf7919c0a0361 (patch) | |
tree | 04abea712db9228e652e65b2e9c5d1b3ca830585 /dex/api.go | |
parent | ce2badf50de9eb7897e98818822dc23d5d86fa3c (diff) | |
download | go-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.go | 4 |
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 { |