Skip to content

Commit

Permalink
fix: nil dereference in GetNodeStatus of cashu backend
Browse files Browse the repository at this point in the history
  • Loading branch information
elnosh committed Jan 9, 2025
1 parent 1417424 commit ecdfd7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lnclient/cashu/cashu.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func (cs *CashuService) GetNetworkGraph(ctx context.Context, nodeIds []string) (
func (cs *CashuService) UpdateLastWalletSyncRequest() {}

func (cs *CashuService) GetNodeStatus(ctx context.Context) (nodeStatus *lnclient.NodeStatus, err error) {
return nil, nil
return &lnclient.NodeStatus{}, nil
}

func (cs *CashuService) SendPaymentProbes(ctx context.Context, invoice string) error {
Expand Down

0 comments on commit ecdfd7c

Please sign in to comment.