channeldb: fix channel_test scoping error

This commit is contained in:
Micah Lerner authored and Olaoluwa Osuntokun committed 2017-12-03 16:34:52 -08:00
1 parent 646df95029
commit 1295bfe096
1 file changed
+1 -1
+1 -1
View File
@@ -121,7 +121,7 @@ func createTestChannelState(cdb *DB) (*OpenChannel, error) {
return nil, err
}
if store.AddNextEntry(preImage); err != nil {
if err := store.AddNextEntry(preImage); err != nil {
return nil, err
}
}