hyperledger-labs/go-perun

Local watcher: create context for Register call

Closed this issue · 1 comments

I could now understand the reason behind our discussion regarding the context used for Register call.

We should probably use a context with timeout and the timeout should be the maximum time that can be taken for registering. However, this maximum value can be different for different backends. So, it will be tricky to determine what timeout to set here.

After this PR is merged, I will create an issue, where we could discuss this and find a solution.

Originally posted by @manoranjith in #276 (comment)

Addressed by #360