common/coin_mvt: make it clear we're using Lightning HRP not BIP 173.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2021-12-29 10:39:58 +10:30
parent 425a7af512
commit ae4669f77f
3 changed files with 10 additions and 8 deletions

View File

@@ -495,7 +495,7 @@ static void coin_movement_notification_serialize(struct json_stream *stream,
json_add_null(stream, "blockheight");
}
json_add_u32(stream, "timestamp", mvt->timestamp);
json_add_string(stream, "coin_type", mvt->bip173_name);
json_add_string(stream, "coin_type", mvt->hrp_name);
json_object_end(stream);
}