diff options
author | Sree Harsha Totakura <sreeharsha@totakura.in> | 2015-04-10 14:48:32 +0200 |
---|---|---|
committer | Sree Harsha Totakura <sreeharsha@totakura.in> | 2015-04-12 10:08:21 +0200 |
commit | 0e52c47de7904a9f41057d5a1dcdf183fe57d1df (patch) | |
tree | 1870ee9f154512131c513404752131a275b504a1 /src/mintdb | |
parent | 23445db811b4a4a281f0456f3a4e0411d2109d95 (diff) |
mintdb postgres: fix session hash length
Diffstat (limited to 'src/mintdb')
-rw-r--r-- | src/mintdb/plugin_mintdb_postgres.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mintdb/plugin_mintdb_postgres.c b/src/mintdb/plugin_mintdb_postgres.c index 6fc3b4410..7e6b2d947 100644 --- a/src/mintdb/plugin_mintdb_postgres.c +++ b/src/mintdb/plugin_mintdb_postgres.c @@ -232,7 +232,7 @@ postgres_create_tables (void *cls, */ SQLEXEC("CREATE TABLE IF NOT EXISTS refresh_sessions " "(" - " session_hash BYTEA PRIMARY KEY CHECK (length(session_hash) = 32)" + " session_hash BYTEA PRIMARY KEY CHECK (length(session_hash) = 64)" ",num_oldcoins INT2 NOT NULL" ",num_newcoins INT2 NOT NULL" ",noreveal_index INT2 NOT NULL" |