forked from hyperledger-labs/go-perun
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ [persistence] Add PeersV to Channel
When fixing the bug it became apparent, that the restorer was missing a method to retrieve the peers of a specific channel. Added the `PeersV` field to `persistence.Channel`. Now restoring a channel will also allow to query the related peers. Improved `channel/persistence/test/persistrestorertest.go` with additional peer-restorer testlogic. Signed-off-by: Norbert Dzikowski <[email protected]>
- Loading branch information
Norbert Dzikowski
committed
Sep 24, 2020
1 parent
6f5fb27
commit fa62299
Showing
5 changed files
with
71 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters