From 0ac6ed149f58611ce0b385e2f76f6d867e710919 Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Thu, 24 Nov 2022 16:39:01 -0800 Subject: [PATCH] Add forgotten frontend.GetLightdInfo method --- frontend/service.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/service.go b/frontend/service.go index 952b904..683b808 100644 --- a/frontend/service.go +++ b/frontend/service.go @@ -223,6 +223,11 @@ func (s *lwdStreamer) GetTransaction(ctx context.Context, txf *walletrpc.TxFilte return nil, errors.New("please call GetTransaction with txid") } +// GetLightdInfo gets the lightwalletd (this server) info, and includes information +// it gets from its backend hushd +func (s *lwdStreamer) GetLightdInfo(ctx context.Context, in *walletrpc.Empty) (*walletrpc.LightdInfo, error) { + return common.GetLightdInfo() +} // GetLightdInfo gets the LightWalletD (this server) info /* This is the old GetLightdInfo (our fork of it) , the new GetLightdInfo is in common/common.go