diff --git a/db/migrations/202407201604_transactions_indexes.go b/db/migrations/202407201604_transactions_indexes.go index 71dac48b..e063809f 100644 --- a/db/migrations/202407201604_transactions_indexes.go +++ b/db/migrations/202407201604_transactions_indexes.go @@ -13,7 +13,7 @@ import ( // - (basic indexes) // - index for budget query // - index for isolated balance queries -// - index for list_transactions / lookup transaciton queries +// - index for list_transactions / lookup transaction queries var _202407201604_transactions_indexes = &gormigrate.Migration{ ID: "202407201604_transactions_indexes", diff --git a/frontend/src/components/CloseChannelDialogContent.tsx b/frontend/src/components/CloseChannelDialogContent.tsx index d0529edf..28b0a4bb 100644 --- a/frontend/src/components/CloseChannelDialogContent.tsx +++ b/frontend/src/components/CloseChannelDialogContent.tsx @@ -77,7 +77,7 @@ export function CloseChannelDialogContent({ alias, channel }: Props) { setFundingTxId(closedChannel.fundingTxId); setStep(step + 1); } - toast({ title: "Sucessfully closed channel" }); + toast({ title: "Successfully closed channel" }); } catch (error) { console.error(error); toast({ diff --git a/frontend/src/components/RoutingFeeDialogContent.tsx b/frontend/src/components/RoutingFeeDialogContent.tsx index 232d029e..0869be56 100644 --- a/frontend/src/components/RoutingFeeDialogContent.tsx +++ b/frontend/src/components/RoutingFeeDialogContent.tsx @@ -53,7 +53,7 @@ export function RoutingFeeDialogContent({ channel }: Props) { ); await reloadChannels(); - toast({ title: "Sucessfully updated channel" }); + toast({ title: "Successfully updated channel" }); } catch (error) { console.error(error); toast({ diff --git a/frontend/src/components/home/widgets/LightningMessageboardWidget.tsx b/frontend/src/components/home/widgets/LightningMessageboardWidget.tsx index 6f75877a..e5b61ce3 100644 --- a/frontend/src/components/home/widgets/LightningMessageboardWidget.tsx +++ b/frontend/src/components/home/widgets/LightningMessageboardWidget.tsx @@ -150,7 +150,7 @@ export function LightningMessageboardWidget() { setMessageText(""); loadMessages(); - toast({ title: "Sucessfully sent message" }); + toast({ title: "Successfully sent message" }); setDialogOpen(false); } catch (error) { console.error(error); diff --git a/frontend/src/screens/internal-apps/ZapPlanner.tsx b/frontend/src/screens/internal-apps/ZapPlanner.tsx index 64bc5988..e22a1df8 100644 --- a/frontend/src/screens/internal-apps/ZapPlanner.tsx +++ b/frontend/src/screens/internal-apps/ZapPlanner.tsx @@ -103,7 +103,7 @@ export function ZapPlanner() { e.preventDefault(); setSubmitting(true); try { - // validate lighning address + // validate lightning address const ln = new LightningAddress(recipientLightningAddress); await ln.fetch(); if (!ln.lnurlpData) { diff --git a/http/http_service.go b/http/http_service.go index f04683f8..0241897e 100644 --- a/http/http_service.go +++ b/http/http_service.go @@ -820,7 +820,7 @@ func (httpSvc *HttpService) signMessageHandler(c echo.Context) error { if err != nil { return c.JSON(http.StatusInternalServerError, ErrorResponse{ - Message: fmt.Sprintf("Failed to sign messae: %s", err.Error()), + Message: fmt.Sprintf("Failed to sign message: %s", err.Error()), }) } return c.JSON(http.StatusOK, signMessageResponse) diff --git a/lnclient/lnd/lnd.go b/lnclient/lnd/lnd.go index 949da36f..c2f8372b 100644 --- a/lnclient/lnd/lnd.go +++ b/lnclient/lnd/lnd.go @@ -402,7 +402,7 @@ func (svc *LNDService) SendKeysend(ctx context.Context, amount uint64, destinati "payment_hash": paymentHash, "preimage": preimage, "reason": failureReasonMessage, - }).Error("Keysend not succcessful") + }).Error("Keysend not successful") return nil, errors.New(failureReasonMessage) } diff --git a/lnclient/phoenixd/phoenixd.go b/lnclient/phoenixd/phoenixd.go index a469a7d2..f0d166ca 100644 --- a/lnclient/phoenixd/phoenixd.go +++ b/lnclient/phoenixd/phoenixd.go @@ -146,7 +146,7 @@ func (svc *PhoenixService) ListTransactions(ctx context.Context, from, until, li logger.Logger.WithFields(logrus.Fields{ "url": incomingUrl, - }).Infof("Fetching incoming tranasctions: %s", incomingUrl) + }).Infof("Fetching incoming transactions: %s", incomingUrl) incomingReq, err := http.NewRequest(http.MethodGet, incomingUrl, nil) if err != nil { return nil, err @@ -194,7 +194,7 @@ func (svc *PhoenixService) ListTransactions(ctx context.Context, from, until, li logger.Logger.WithFields(logrus.Fields{ "url": outgoingUrl, - }).Infof("Fetching outgoing tranasctions: %s", outgoingUrl) + }).Infof("Fetching outgoing transactions: %s", outgoingUrl) outgoingReq, err := http.NewRequest(http.MethodGet, outgoingUrl, nil) if err != nil { return nil, err diff --git a/nip47/event_handler.go b/nip47/event_handler.go index 2b508e5c..4832b822 100644 --- a/nip47/event_handler.go +++ b/nip47/event_handler.go @@ -267,7 +267,7 @@ func (svc *nip47Service) HandleEvent(ctx context.Context, relay nostrmodels.Rela svc.db.Save(&requestEvent) // we ignore potential DB errors here as this only saves the method and content data // TODO: replace with a channel - // TODO: update all previous occurences of svc.publishResponseEvent to also use the channel + // TODO: update all previous occurrences of svc.publishResponseEvent to also use the channel publishResponse := func(nip47Response *models.Response, tags nostr.Tags) { resp, err := svc.CreateResponse(event, nip47Response, tags, nip47Cipher, appWalletPrivKey) if err != nil {