multi: move all channelstate operations to ChannelStateDB
This commit is contained in:
1 parent
ddea833d31
commit
11cf4216e4
35 files changed
+377
-238
No files matched your search
@@ -322,7 +322,7 @@ func CreateTestChannels(chanType channeldb.ChannelType) (
|
||||
RevocationStore: shachain.NewRevocationStore(),
|
||||
LocalCommitment: aliceLocalCommit,
|
||||
RemoteCommitment: aliceRemoteCommit,
|
||||
Db: dbAlice,
|
||||
Db: dbAlice.ChannelStateDB(),
|
||||
Packager: channeldb.NewChannelPackager(shortChanID),
|
||||
FundingTxn: testTx,
|
||||
}
|
||||
@@ -340,7 +340,7 @@ func CreateTestChannels(chanType channeldb.ChannelType) (
|
||||
RevocationStore: shachain.NewRevocationStore(),
|
||||
LocalCommitment: bobLocalCommit,
|
||||
RemoteCommitment: bobRemoteCommit,
|
||||
Db: dbBob,
|
||||
Db: dbBob.ChannelStateDB(),
|
||||
Packager: channeldb.NewChannelPackager(shortChanID),
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user