multi: make NewChanIDFromOutpoint accept value instead of pointer
This commit is contained in:
1 parent
fd1cd315ce
commit
db39a905cb
27 files changed
+108
-106
No files matched your search
+1
-1
@@ -704,7 +704,7 @@ func (c *ChannelStateDB) FetchChannelByID(tx kvdb.RTx, id lnwire.ChannelID) (
|
||||
return err
|
||||
}
|
||||
|
||||
chanID := lnwire.NewChanIDFromOutPoint(&outPoint)
|
||||
chanID := lnwire.NewChanIDFromOutPoint(outPoint)
|
||||
if chanID != id {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user