Skip to content

Client: Adapt ForceUpdate to Update#291

Merged
manoranjith merged 1 commit intohyperledger-labs:mainfrom
perun-network:290-adapt-forceupdate
Dec 10, 2021
Merged

Client: Adapt ForceUpdate to Update#291
manoranjith merged 1 commit intohyperledger-labs:mainfrom
perun-network:290-adapt-forceupdate

Conversation

@matthiasgeihs
Copy link
Copy Markdown
Contributor

Resolves #290

Comment thread client/adjudicate.go
Copy link
Copy Markdown

@manoranjith manoranjith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have one minor suggestion.

Also, I think you should rebase onto main after #289 is merged ? @matthiasgeihs

Update allowed to cancel the update process by letting the update
function return an error. ForceUpdate didn't allow that. Since the two
functions are otherwise very similar, we now also make their function
signature consistent.

Signed-off-by: Matthias Geihs <matthias@perun.network>
@matthiasgeihs
Copy link
Copy Markdown
Contributor Author

Have one minor suggestion.

Also, I think you should rebase onto main after #289 is merged ? @matthiasgeihs

Rebased. I think you suggestion didn't apply as intended, see #291 (comment).

Copy link
Copy Markdown

@manoranjith manoranjith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@manoranjith manoranjith merged commit 57df025 into hyperledger-labs:main Dec 10, 2021
@matthiasgeihs matthiasgeihs deleted the 290-adapt-forceupdate branch January 25, 2022 13:37
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 this pull request may close these issues.

Client: Make Channel.Update and ForceUpdate have the same function signature 💥

2 participants