Skip to content

Commit 69df018

Browse files
committed
Improving message language
1 parent 17923d4 commit 69df018

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lightning/src/chain/chainmonitor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ where C::Target: chain::Filter,
403403
script_pubkey: output.script_pubkey,
404404
};
405405
chain_source.register_output(output);
406-
log_trace!(self.logger, "Adding an outpoint with txid {} to the filter", txid);
406+
log_trace!(self.logger, "Adding monitoring for spends of outpoint {}:{} to the filter", idx, txid);
407407
}
408408
}
409409
}

lightning/src/chain/channelmonitor.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,9 +1347,9 @@ impl<Signer: WriteableEcdsaChannelSigner> ChannelMonitor<Signer> {
13471347
where
13481348
F::Target: chain::Filter, L::Target: Logger,
13491349
{
1350-
log_trace!(logger, "registering transaction outputs");
13511350
let lock = self.inner.lock().unwrap();
13521351
filter.register_tx(&lock.get_funding_txo().0.txid, &lock.get_funding_txo().1);
1352+
log_trace!(logger, "registering funding outpoint {:?}" , &lock.get_funding_txo());
13531353
for (txid, outputs) in lock.get_outputs_to_watch().iter() {
13541354
for (index, script_pubkey) in outputs.iter() {
13551355
assert!(*index <= u16::max_value() as u32);
@@ -1358,7 +1358,7 @@ impl<Signer: WriteableEcdsaChannelSigner> ChannelMonitor<Signer> {
13581358
outpoint: OutPoint { txid: *txid, index: *index as u16 },
13591359
script_pubkey: script_pubkey.clone(),
13601360
});
1361-
log_trace!(logger, "Adding an outpoint with txid {} to the filter", txid);
1361+
log_trace!(logger, "Adding monitoring for spends of outpoint {}:{} to the filter", index, txid);
13621362
}
13631363
}
13641364
}

0 commit comments

Comments
 (0)