exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 0e52c47de7904a9f41057d5a1dcdf183fe57d1df
parent 23445db811b4a4a281f0456f3a4e0411d2109d95
Author: Sree Harsha Totakura <sreeharsha@totakura.in>
Date:   Fri, 10 Apr 2015 14:48:32 +0200

mintdb postgres: fix session hash length

Diffstat:
Msrc/mintdb/plugin_mintdb_postgres.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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"