merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit 5cbd6cbd3f2f00eaab4d0e070e46c43f502db63e
parent b2a21b2a850b45d082e52ed70d2285a711622f94
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Tue, 13 Jun 2017 10:22:44 +0200

fix table definition

Diffstat:
Mdoc/version.texi | 2+-
Msrc/backenddb/plugin_merchantdb_postgres.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/version.texi b/doc/version.texi @@ -1,4 +1,4 @@ -@set UPDATED 3 June 2017 +@set UPDATED 7 June 2017 @set UPDATED-MONTH June 2017 @set EDITION 0.3.0 @set VERSION 0.3.0 diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c @@ -241,7 +241,7 @@ postgres_initialize (void *cls) ",coin_pub BYTEA NOT NULL CHECK (LENGTH(coin_pub)=32)" ",reason VARCHAR NOT NULL" ",refund_amount_val INT8 NOT NULL" - ",refund_amount_frac INT8 NOT NULL" + ",refund_amount_frac INT4 NOT NULL" ",refund_amount_curr VARCHAR(" TALER_CURRENCY_LEN_STR ") NOT NULL" ");"), GNUNET_PQ_make_execute ("CREATE TABLE IF NOT EXISTS merchant_transactions ("