mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-13 11:09:23 +01:00
channeldb: fix channel_test scoping error
This commit is contained in:
parent
646df95029
commit
1295bfe096
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue