mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
wallet-test: print better error message on failure
This commit is contained in:
parent
773aa26321
commit
4514d2a180
4 changed files with 4 additions and 4 deletions
2
wallet/db_postgres_sqlgen.c
generated
2
wallet/db_postgres_sqlgen.c
generated
|
@ -2032,4 +2032,4 @@ struct db_query db_postgres_queries[] = {
|
|||
|
||||
#endif /* LIGHTNINGD_WALLET_GEN_DB_POSTGRES */
|
||||
|
||||
// SHA256STAMP:1423567c921b088aefdd7a07fcbfa2db1903ef4e2410550eccb5574a9f133f28
|
||||
// SHA256STAMP:be7e5cedcb61a9b96566d4531bb25f2db4e5a344b0d884eec3fc3adf7a4fe242
|
||||
|
|
2
wallet/db_sqlite3_sqlgen.c
generated
2
wallet/db_sqlite3_sqlgen.c
generated
|
@ -2032,4 +2032,4 @@ struct db_query db_sqlite3_queries[] = {
|
|||
|
||||
#endif /* LIGHTNINGD_WALLET_GEN_DB_SQLITE3 */
|
||||
|
||||
// SHA256STAMP:1423567c921b088aefdd7a07fcbfa2db1903ef4e2410550eccb5574a9f133f28
|
||||
// SHA256STAMP:be7e5cedcb61a9b96566d4531bb25f2db4e5a344b0d884eec3fc3adf7a4fe242
|
||||
|
|
2
wallet/statements_gettextgen.po
generated
2
wallet/statements_gettextgen.po
generated
|
@ -1341,4 +1341,4 @@ msgstr ""
|
|||
#: wallet/test/run-wallet.c:1752
|
||||
msgid "INSERT INTO channels (id) VALUES (1);"
|
||||
msgstr ""
|
||||
# SHA256STAMP:49a5aa519d315c36016e3d27177f0f5c1fae5ab8aa24d8c57dd8da18fcb75a4d
|
||||
# SHA256STAMP:51fa10c40312c4845f05157420486d57cc8c5ace7b7da7a92c8e496f48ff0dcc
|
||||
|
|
|
@ -994,7 +994,7 @@ static struct wallet *create_test_wallet(struct lightningd *ld, const tal_t *ctx
|
|||
db_migrate(ld, w->db, bip32_base);
|
||||
w->db->data_version = 0;
|
||||
db_commit_transaction(w->db);
|
||||
CHECK_MSG(!wallet_err, "DB migration failed");
|
||||
CHECK_MSG(!wallet_err, wallet_err);
|
||||
w->max_channel_dbid = 0;
|
||||
|
||||
return w;
|
||||
|
|
Loading…
Add table
Reference in a new issue