Apply suggestions from code review

Co-authored-by: thesimplekid <tsk@thesimplekid.com>
This commit is contained in:
C
2025-07-26 17:34:55 -03:00
committed by Cesar Rodas
parent fb4c470a9a
commit 99ced01e67
4 changed files with 13 additions and 10 deletions

View File

@@ -70,7 +70,7 @@ CREATE TABLE IF NOT EXISTS "proof" (
amount INTEGER NOT NULL,
keyset_id TEXT NOT NULL, -- no FK constraint here
secret TEXT NOT NULL,
c BLOBNOT NULL,
c BLOB NOT NULL,
witness TEXT,
state TEXT CHECK (state IN ('SPENT', 'PENDING', 'UNSPENT', 'RESERVED', 'UNKNOWN')) NOT NULL,
quote_id TEXT,