multi: use mutex-guarded ShortChanID() on OpenChannel
This commit is contained in:
13 files changed
+31
-31
No files matched your search
@@ -324,7 +324,7 @@ func createTestChannel(alicePrivKey, bobPrivKey []byte,
|
||||
RevocationStore: shachain.NewRevocationStore(),
|
||||
LocalCommitment: aliceCommit,
|
||||
RemoteCommitment: aliceCommit,
|
||||
ShortChanID: chanID,
|
||||
ShortChannelID: chanID,
|
||||
Db: dbAlice,
|
||||
Packager: channeldb.NewChannelPackager(chanID),
|
||||
FundingTxn: testTx,
|
||||
@@ -343,7 +343,7 @@ func createTestChannel(alicePrivKey, bobPrivKey []byte,
|
||||
RevocationStore: shachain.NewRevocationStore(),
|
||||
LocalCommitment: bobCommit,
|
||||
RemoteCommitment: bobCommit,
|
||||
ShortChanID: chanID,
|
||||
ShortChannelID: chanID,
|
||||
Db: dbBob,
|
||||
Packager: channeldb.NewChannelPackager(chanID),
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user