nervosnetwork / fiber

15 stars 8 forks source link

Fix handle_add_tlc_command and handle_remove_tlc_command for response #134

Closed chenyukang closed 2 months ago

chenyukang commented 2 months ago

From https://github.com/nervosnetwork/cfn-node/pull/113#issuecomment-2196628377

When there is an error happened in handle_commitment_signed_command, RemoveTlc rpc does not get error message.

Moving handle_commitment_signed_command into command handlers will resolve this issue.