autopilot/graph: define addRandNode

This commit is contained in:
Johan T. Halseth committed 2018-12-10 15:01:43 +01:00
1 parent 5224c94aaf
commit aeeff4714d
2 files changed
+44

No files matched your search

+2
View File
@@ -182,6 +182,8 @@ type testGraph interface {
addRandChannel(*btcec.PublicKey, *btcec.PublicKey,
btcutil.Amount) (*ChannelEdge, *ChannelEdge, error)
addRandNode() (*btcec.PublicKey, error)
}
func newDiskChanGraph() (testGraph, func(), error) {