[bug] account: don't change account status until the action has been successfully completed

Aperta
#432 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@positiveblue ci sta già lavorando.

Dal 12/1/2023.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug

When we close an account we first update its status and value in the clientdb and then try to broadcast the spending tx.

If we don't succeed publishing the tx our account will already be marked as pending to close so we won't be able to retry it anymore.

Expected behavior

If attempting to close an account fails, the account is not left in a terminal state. You can continue using it normally or retry to close it

Lingua principale
Go
Stelle
256
Fork
53
Merge medio
20h 22m
PR unite (30g)
5

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di lightninglabs/pool

Tutte le issue di lightninglabs/pool

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.