From c451119f258c06c9d076ddb07c6bdab509b9a3e9 Mon Sep 17 00:00:00 2001 From: kanoi Date: Fri, 27 Feb 2015 00:27:35 +1100 Subject: [PATCH] ckdb - correct status order in cmd_payouts message --- src/ckdb.h | 2 +- src/ckdb_cmd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ckdb.h b/src/ckdb.h index 3a529a49..53a09f2d 100644 --- a/src/ckdb.h +++ b/src/ckdb.h @@ -52,7 +52,7 @@ #define DB_VLOCK "1" #define DB_VERSION "1.0.0" -#define CKDB_VERSION DB_VERSION"-1.001" +#define CKDB_VERSION DB_VERSION"-1.002" #define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL_HERE __FILE__, __func__, __LINE__ diff --git a/src/ckdb_cmd.c b/src/ckdb_cmd.c index c7f89e79..2bc67399 100644 --- a/src/ckdb_cmd.c +++ b/src/ckdb_cmd.c @@ -4115,7 +4115,7 @@ static char *cmd_payouts(PGconn *conn, char *cmd, char *id, tv_t *now, snprintf(msg, sizeof(msg), "payout %"PRId64" changed from '%s' to '%s' for" "%"PRId32"/%s", - payoutid, payouts2->status, old_payouts2->status, + payoutid, old_payouts2->status, payouts2->status, payouts2->height, payouts2->blockhash); /* } else if (strcasecmp(action, "expire") == 0) {