From b5903a10b29abd75417376dd28b106f888b64949 Mon Sep 17 00:00:00 2001 From: trueptolemy <823220586@qq.com> Date: Fri, 3 May 2019 02:31:16 +0800 Subject: [PATCH] run-wallet: fix the version of variant in CHECK_MSG fix fix --- wallet/test/run-wallet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wallet/test/run-wallet.c b/wallet/test/run-wallet.c index acbc1b36b..d0790a582 100644 --- a/wallet/test/run-wallet.c +++ b/wallet/test/run-wallet.c @@ -992,7 +992,7 @@ static bool test_channel_crud(struct lightningd *ld, const tal_t *ctx) CHECK_MSG(c2 = wallet_channel_load(w, c1.dbid), tal_fmt(w, "Load from DB")); CHECK_MSG(!wallet_err, tal_fmt(w, "Load from DB: %s", wallet_err)); - CHECK_MSG(channelseq(&c1, c2), "Compare loaded with saved (v6)"); + CHECK_MSG(channelseq(&c1, c2), "Compare loaded with saved (v3)"); tal_free(c2); /* Variant 4: update and add remote_shutdown_scriptpubkey */ @@ -1002,7 +1002,7 @@ static bool test_channel_crud(struct lightningd *ld, const tal_t *ctx) CHECK_MSG(c2 = wallet_channel_load(w, c1.dbid), tal_fmt(w, "Load from DB")); CHECK_MSG(!wallet_err, tal_fmt(w, "Load from DB: %s", wallet_err)); - CHECK_MSG(channelseq(&c1, c2), "Compare loaded with saved (v8)"); + CHECK_MSG(channelseq(&c1, c2), "Compare loaded with saved (v4)"); tal_free(c2); db_commit_transaction(w->db);