mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-24 03:54:21 +01:00
Fix duplicate blank outputs during melt (#795)
* wip blank outputs * wip: working * store ids for promises correctly * tests * fix migraiton * revert * fix tests * fix auth server * fix last tests * retroactively change migration, initial and m017_foreign_keys_proof_tables, remove c_b and replace with c_ (same for b_) * fix constraint * oops * msg stack fix * fix test foreign key constraint * fix postgres tests * foreign key constraint test * should fix psql error * foreign key constraint sqlite * rename to update_blinded_message_signature * drop outputs and change columns from melt_quotes table * switch migration order * reorder migrations again * fix migration * add tests * fix postgres migration too * create signed_at column postgres * foreign key constraingt promises table * migration tool * readme
This commit is contained in:
@@ -201,7 +201,8 @@ class AuthLedger(Ledger):
|
||||
)
|
||||
|
||||
await self._verify_outputs(outputs)
|
||||
promises = await self._generate_promises(outputs)
|
||||
await self._store_blinded_messages(outputs)
|
||||
promises = await self._sign_blinded_messages(outputs)
|
||||
|
||||
# update last_access timestamp of the user
|
||||
await self.auth_crud.update_user(user_id=user.id, db=self.db)
|
||||
|
||||
Reference in New Issue
Block a user