aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/0003-age_withdraw.sql
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-28 12:21:28 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-28 12:21:28 +0200
commitc93ce9ea2eb16a91422b8101fecd8c491c7e93b7 (patch)
tree073a5d3dc35d410faa3bc098291eab108e63975a /src/exchangedb/0003-age_withdraw.sql
parent571d43cef3732ed6f491d91a9e767a80008edeb1 (diff)
-fix type defs
Diffstat (limited to 'src/exchangedb/0003-age_withdraw.sql')
-rw-r--r--src/exchangedb/0003-age_withdraw.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exchangedb/0003-age_withdraw.sql b/src/exchangedb/0003-age_withdraw.sql
index c85eb60f..05c0df27 100644
--- a/src/exchangedb/0003-age_withdraw.sql
+++ b/src/exchangedb/0003-age_withdraw.sql
@@ -29,7 +29,7 @@ BEGIN
'(age_withdraw_id BIGINT GENERATED BY DEFAULT AS IDENTITY'
',h_commitment BYTEA NOT NULL CONSTRAINT h_commitment_length CHECK(LENGTH(h_commitment)=64)'
',max_age SMALLINT NOT NULL CONSTRAINT max_age_positive CHECK(max_age>=0)'
- ',amount_with_fee TALER_AMOUNT NOT NULL'
+ ',amount_with_fee taler_amount NOT NULL'
',reserve_pub BYTEA NOT NULL CONSTRAINT reserve_pub_length CHECK(LENGTH(reserve_pub)=32)'
',reserve_sig BYTEA NOT NULL CONSTRAINT reserve_sig_length CHECK(LENGTH(reserve_sig)=64)'
',noreveal_index SMALLINT NOT NULL CONSTRAINT noreveal_index_positive CHECK(noreveal_index>=0)'