diff --git a/server/.gitignore b/server/.gitignore index 757492d..5f87b3d 100755 --- a/server/.gitignore +++ b/server/.gitignore @@ -21,4 +21,6 @@ DS_Store go.work -go.work.sum \ No newline at end of file +go.work.sum + +.vscode/ \ No newline at end of file diff --git a/server/internal/infrastructure/db/badger/vtxo_repo.go b/server/internal/infrastructure/db/badger/vtxo_repo.go index 0ff5910..3088545 100644 --- a/server/internal/infrastructure/db/badger/vtxo_repo.go +++ b/server/internal/infrastructure/db/badger/vtxo_repo.go @@ -271,7 +271,6 @@ func (r *vtxoRepository) sweepVtxo(ctx context.Context, vtxoKey domain.VtxoKey) } vtxo.Swept = true - vtxo.ExpireAt = 0 if ctx.Value("tx") != nil { tx := ctx.Value("tx").(*badger.Txn) err = r.store.TxUpdate(tx, vtxoKey.Hash(), *vtxo)