autopilot/graph: define addRandNode

This commit is contained in:
Johan T. Halseth
2018-12-10 14:56:54 +01:00
parent 5224c94aaf
commit aeeff4714d
2 changed files with 44 additions and 0 deletions

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) {