mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 10:46:58 +01:00
run-wallet: fix the version of variant in CHECK_MSG
fix fix
This commit is contained in:
parent
d9fcd008ec
commit
b5903a10b2
1 changed files with 2 additions and 2 deletions
|
@ -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(c2 = wallet_channel_load(w, c1.dbid), tal_fmt(w, "Load from DB"));
|
||||||
CHECK_MSG(!wallet_err,
|
CHECK_MSG(!wallet_err,
|
||||||
tal_fmt(w, "Load from DB: %s", 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);
|
tal_free(c2);
|
||||||
|
|
||||||
/* Variant 4: update and add remote_shutdown_scriptpubkey */
|
/* 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(c2 = wallet_channel_load(w, c1.dbid), tal_fmt(w, "Load from DB"));
|
||||||
CHECK_MSG(!wallet_err,
|
CHECK_MSG(!wallet_err,
|
||||||
tal_fmt(w, "Load from DB: %s", 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);
|
tal_free(c2);
|
||||||
|
|
||||||
db_commit_transaction(w->db);
|
db_commit_transaction(w->db);
|
||||||
|
|
Loading…
Add table
Reference in a new issue