mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-02-15 11:34:25 +01:00
channeldb: fix channel_test scoping error
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
646df95029
commit
1295bfe096
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user