Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[send_payment] return Musig2VerifyError when multiple nodes send payment self #475

Closed
gpBlockchain opened this issue Jan 14, 2025 · 0 comments · Fixed by #493
Closed

[send_payment] return Musig2VerifyError when multiple nodes send payment self #475

gpBlockchain opened this issue Jan 14, 2025 · 0 comments · Fixed by #493

Comments

@gpBlockchain
Copy link
Contributor

commit: bde0dbc

multiple nodes keep transferring to themselves, which causes the node to report TlcAmountExceedLimit, Musig2RoundFinalizeError, and then causes the node get stuck in the Waitingtlcack

image

err log

  2025-01-14T09:03:51.930022Z ERROR fnn::fiber::channel: Error while processing channel command: TlcAmountExceedLimit

  2025-01-14T09:02:10.483359Z ERROR fnn::fiber::channel: Error while processing channel command: WaitingTlcAck
  2025-01-14T09:02:10.538608Z ERROR fnn::fiber::channel: Error while processing channel command: WaitingTlcAck
  2025-01-14T09:02:13.812686Z ERROR fnn::fiber::channel: Error while processing channel command: WaitingTlcAck
  2025-01-14T09:02:31.744385Z ERROR fnn::fiber::channel: Error while processing channel message: Musig2RoundFinalizeError(InvalidAggregatedSignature(BadSignature)) with message: RevokeAndAck(RevokeAndAck { channel_id: Hash256(0x89a8477ab5e44def0f51c2a4f6f56f400ca2b78817f44c78ac63b4a2cd0067e3), revocation_partial_signature: Valid(Scalar(#244ee3579f80afe1)), commitment_tx_partial_signature: Valid(Scalar(#3f7b65e4e9b6c1a1)), next_per_commitment_point: Pubkey(PublicKey(2df118cb974463253048933b8d210087608006e35eca2fbf59ad0ccd3679a7ed9f6079a3a860d5abcc641335f0dbd4fe9167e8a2fdbb8e31607320739e627d8b)) })
  2025-01-14T09:02:34.156586Z ERROR fnn::fiber::channel: Error while processing channel message: Musig2VerifyError(BadSignature) with message: CommitmentSigned(CommitmentSigned { channel_id: Hash256(0x89a8477ab5e44def0f51c2a4f6f56f400ca2b78817f44c78ac63b4a2cd0067e3), funding_tx_partial_signature: Valid(Scalar(#60d4c10d4aff75b1)), commitment_tx_partial_signature: Valid(Scalar(#7e60d2f31774138b)), next_local_nonce: PubNonce { R1: Point(027bfe430069be22b9c88cae534fd9b84b9cb84e241d2278ca74ffc73eefd90b7d), R2: Point(03a1ba7ec87558c2a2a0b219fb5d53793cb588ced9c7a4d39a8e6fdb68efe8328f) } })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant