From d9fcd008ec70ba64bce9936b4c6ede27c92d479c Mon Sep 17 00:00:00 2001 From: trueptolemy <823220586@qq.com> Date: Fri, 3 May 2019 02:28:33 +0800 Subject: [PATCH] run-wallet: fix the description in the CHECK_MSG --- wallet/test/run-wallet.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wallet/test/run-wallet.c b/wallet/test/run-wallet.c index 2bc1c855d..acbc1b36b 100644 --- a/wallet/test/run-wallet.c +++ b/wallet/test/run-wallet.c @@ -976,7 +976,7 @@ static bool test_channel_crud(struct lightningd *ld, const tal_t *ctx) tal_fmt(w, "Insert into DB: %s", wallet_err)); CHECK_MSG(c2 = wallet_channel_load(w, c1.dbid), tal_fmt(w, "Load from DB")); CHECK_MSG(!wallet_err, - tal_fmt(w, "Insert into DB: %s", wallet_err)); + tal_fmt(w, "Load from DB: %s", wallet_err)); CHECK_MSG(channelseq(&c1, c2), "Compare loaded with saved (v2)"); tal_free(c2); @@ -991,7 +991,7 @@ static bool test_channel_crud(struct lightningd *ld, const tal_t *ctx) CHECK_MSG(!wallet_err, tal_fmt(w, "Insert into DB: %s", wallet_err)); CHECK_MSG(c2 = wallet_channel_load(w, c1.dbid), tal_fmt(w, "Load from DB")); CHECK_MSG(!wallet_err, - tal_fmt(w, "Insert into DB: %s", wallet_err)); + tal_fmt(w, "Load from DB: %s", wallet_err)); CHECK_MSG(channelseq(&c1, c2), "Compare loaded with saved (v6)"); tal_free(c2); @@ -1001,7 +1001,7 @@ static bool test_channel_crud(struct lightningd *ld, const tal_t *ctx) CHECK_MSG(!wallet_err, tal_fmt(w, "Insert into DB: %s", wallet_err)); CHECK_MSG(c2 = wallet_channel_load(w, c1.dbid), tal_fmt(w, "Load from DB")); CHECK_MSG(!wallet_err, - tal_fmt(w, "Insert into DB: %s", wallet_err)); + tal_fmt(w, "Load from DB: %s", wallet_err)); CHECK_MSG(channelseq(&c1, c2), "Compare loaded with saved (v8)"); tal_free(c2);