Skip to content

Commit

Permalink
channeldb: fix channel_test scoping error
Browse files Browse the repository at this point in the history
  • Loading branch information
mlerner authored and Roasbeef committed Dec 4, 2017
1 parent 646df95 commit 1295bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion channeldb/channel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit 1295bfe

Please sign in to comment.