Fix handling of pairing request

M1nd3r/thp5
M1nd3r 1 month ago
parent 3a8c4c6330
commit 3a90ed6e6c

@ -39,7 +39,7 @@ async def handle_pairing_request(
if _is_method_included(ctx, ThpPairingMethod.PairingMethod_CodeEntry):
ctx.channel.set_channel_state(ChannelState.TP2)
await context.call(ThpCodeEntryCommitment(), ThpCodeEntryChallenge)
else:
ctx.channel.set_channel_state(ChannelState.TP3)
await context.call_any(
ThpPairingPreparationsFinished(),

Loading…
Cancel
Save