graphdb: pass context to ChannelView
This commit is contained in:
6 files changed
+10
-13
No files matched your search
@@ -4180,7 +4180,7 @@ func (e *EdgePoint) String() string {
|
||||
// within the known channel graph. The set of UTXO's (along with their scripts)
|
||||
// returned are the ones that need to be watched on chain to detect channel
|
||||
// closes on the resident blockchain.
|
||||
func (c *KVStore) ChannelView() ([]EdgePoint, error) {
|
||||
func (c *KVStore) ChannelView(_ context.Context) ([]EdgePoint, error) {
|
||||
var edgePoints []EdgePoint
|
||||
if err := kvdb.View(c.db, func(tx kvdb.RTx) error {
|
||||
// We're going to iterate over the entire channel index, so
|
||||
|
||||
Reference in new issue
Block a user