merchant

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

commit 2632993fa90336bcc7c071d171f11959a0a16517
parent 75609cbceba0bcfccf8d2d9743e74fbdcb6100f9
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date:   Wed,  1 Mar 2017 12:47:43 +0100

/history returns latest records first.

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

diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c @@ -307,7 +307,7 @@ postgres_initialize (void *cls) " WHERE" " timestamp>=$1" " AND merchant_pub=$2" - " ORDER BY timestamp", + " ORDER BY timestamp DESC", 2); /* Setup prepared "SELECT" statements */