mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-19 21:55:03 +01:00
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:
@@ -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 (?, ?, ?, ?, ?, ?, ?);
|
||||
"#,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user