|
|
@ -245,7 +245,13 @@ func (s *SqlStreamer) GetTransaction(ctx context.Context, txf *walletrpc.TxFilte |
|
|
|
|
|
|
|
// GetLightdInfo gets the LightWalletD (this server) info
|
|
|
|
func (s *SqlStreamer) GetLightdInfo(ctx context.Context, in *walletrpc.Empty) (*walletrpc.LightdInfo, error) { |
|
|
|
saplingHeight, chainName, _ := common.GetSaplingInfo(s.client) |
|
|
|
saplingHeight, chainName, err := common.GetSaplingInfo(s.client) |
|
|
|
|
|
|
|
if err != nil { |
|
|
|
s.log.WithFields(logrus.Fields{ |
|
|
|
"error": err, |
|
|
|
}).Warn("Unable to get sapling activation height") |
|
|
|
} |
|
|
|
|
|
|
|
// TODO these are called Error but they aren't at the moment.
|
|
|
|
// A success will return code 0 and message txhash.
|
|
|
|