fix: default state sql

fix(mint/sqlite): add pending proof state

fix(mint): adding proof to pending before checking current

fix(mint): remove double call to verify melt quote
This commit is contained in:
thesimplekid
2024-06-29 00:24:06 +01:00
parent dec11e232a
commit 5db6eaa858
8 changed files with 20 additions and 11 deletions

View File

@@ -486,7 +486,7 @@ AND state="SPENT";
sqlx::query(
r#"
INSERT OR REPLACE INTO proof
(y, amount, keyset_id, secret, c, witness, spent, pending)
(y, amount, keyset_id, secret, c, witness, state)
VALUES (?, ?, ?, ?, ?, ?, ?);
"#,
)