Commit 7f02198
committed
Return early on duplicate calls to
We may produce duplicate `FundingTransactionReadyForSigning` events if
the user has processed an initial event but has not yet called back with
`funding_transaction_signed` and a peer reconnection occurs. If the user
also handles the duplicate events, any duplicate calls to
`funding_transaction_signed` after an initial successful one would
return an error. This doesn't make sense, as the API should remain
idempotent, so we return early on any duplicate calls.funding_transaction_signed
1 parent fec434b commit 7f02198
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8678 | 8678 | | |
8679 | 8679 | | |
8680 | 8680 | | |
| 8681 | + | |
| 8682 | + | |
| 8683 | + | |
| 8684 | + | |
| 8685 | + | |
| 8686 | + | |
8681 | 8687 | | |
8682 | 8688 | | |
| 8689 | + | |
| 8690 | + | |
| 8691 | + | |
| 8692 | + | |
| 8693 | + | |
8683 | 8694 | | |
8684 | 8695 | | |
8685 | 8696 | | |
| |||
0 commit comments