mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-08 16:44:22 +01:00
nit,bkpr: add a note about what the tag was to this printout
Makes it much easier to debug when something goes wrong!
This commit is contained in:
@@ -1401,8 +1401,9 @@ static struct command_result * json_coin_moved(struct command *cmd,
|
||||
/* We expect version 2 of coin movements */
|
||||
assert(version == 2);
|
||||
|
||||
plugin_log(cmd->plugin, LOG_DBG, "coin_move %d %s -%s %s %"PRIu64,
|
||||
plugin_log(cmd->plugin, LOG_DBG, "coin_move %d (%s) %s -%s %s %"PRIu64,
|
||||
version,
|
||||
mvt_tag_str(tags[0]),
|
||||
type_to_string(tmpctx, struct amount_msat, &credit),
|
||||
type_to_string(tmpctx, struct amount_msat, &debit),
|
||||
mvt_type, timestamp);
|
||||
|
||||
Reference in New Issue
Block a user