Skip to content

Commit

Permalink
Add more logs to context.complete_tx
Browse files Browse the repository at this point in the history
  • Loading branch information
contrun committed May 11, 2024
1 parent a413b3e commit f38a381
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ckb/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1981,8 +1981,9 @@ impl ChannelActorState {
dbg!(&revocation_keys);

for local in [true, false] {
dbg!("Before completed tx: {:?}", &tx);
let tx = context.complete_tx(tx.clone());
dbg!("completed tx: {:?}", &tx);
dbg!("After completed tx: {:?}", &tx);

// Use the second output as an input to the new transaction.
let commitment_out_point = &tx.output_pts()[1];
Expand Down

0 comments on commit f38a381

Please sign in to comment.