hyperledger-labs / go-perun

🌔 Perun's Blockchain-Agnostic State Channels Framework in Go.
https://perun.network/
Apache License 2.0
55 stars 18 forks source link

Cannot close multi-ledger Channel #365

Closed cryptphil closed 2 years ago

cryptphil commented 2 years ago

Location

multi/ To reconstruct the bug: Add chBobAlice.Close() to client/test/multiledger_dispute.go:135 and then run the multi-ledger dispute tests.

Problem

When trying to close a multi-ledger channel with ch.Close() the method does not return and we get a deadlock. This only happens if we have started a watcher for this channel.

Proposal

We have to identify the reason for this bug and then fix it.