Skip to content

Commit

Permalink
fix: fixed arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
frnandu committed Oct 31, 2024
1 parent 17c9c0b commit 8127fea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/create_app_consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ func (s *createAppConsumer) ConsumeEvent(ctx context.Context, event *events.Even
}

go func() {
nip47EventInfo, err := s.svc.GetNip47Service().PublishNip47Info(ctx, s.relay, walletPubKey, walletPrivKey, s.svc.lnClient)
_, err := s.svc.GetNip47Service().PublishNip47Info(ctx, s.relay, walletPubKey, walletPrivKey, s.svc.lnClient)
if err != nil {
logger.Logger.WithError(err).Error("Could not publish NIP47 info")
}
err = s.svc.startAppWalletSubscription(ctx, s.relay, walletPubKey, nip47EventInfo)
err = s.svc.startAppWalletSubscription(ctx, s.relay, walletPubKey)
if err != nil {
logger.Logger.WithError(err).WithFields(logrus.Fields{
"app_id": id}).Error("Failed to subscribe to wallet")
Expand Down

0 comments on commit 8127fea

Please sign in to comment.