channeldb: add test for new channel closure persistence

This commit is contained in:
Olaoluwa Osuntokun committed 2017-05-04 17:39:05 -07:00
1 parent 826dbbd1f7
commit 35fd800083
2 files changed
+118 -2

No files matched your search

+4
View File
@@ -81,4 +81,8 @@ var (
// ErrUnknownAddressType is returned when a node's addressType is not
// an expected value.
ErrUnknownAddressType = fmt.Errorf("address type cannot be resolved")
// ErrNoClosedChannels is returned when a node is queries for all the
// channels it has closed, but it hasn't yet closed any channels.
ErrNoClosedChannels = fmt.Errorf("no channel have been closed yet")
)