mirror of
https://github.com/corda/corda.git
synced 2024-12-22 06:17:55 +00:00
node: Fix compile after rebase
This commit is contained in:
parent
c04a3401c3
commit
a23c1d019c
@ -140,7 +140,7 @@ class WalletMonitorServiceTests {
|
|||||||
// Check the returned event is correct
|
// Check the returned event is correct
|
||||||
val tx = (event.state as TransactionBuildResult.ProtocolStarted).transaction
|
val tx = (event.state as TransactionBuildResult.ProtocolStarted).transaction
|
||||||
assertNotNull(tx)
|
assertNotNull(tx)
|
||||||
assertEquals(expectedState, tx!!.tx.outputs.single().data)
|
assertEquals(expectedState, tx!!.outputs.single().data)
|
||||||
},
|
},
|
||||||
expect { event: ServiceToClientEvent.OutputState ->
|
expect { event: ServiceToClientEvent.OutputState ->
|
||||||
// Check the generated state is correct
|
// Check the generated state is correct
|
||||||
@ -202,8 +202,8 @@ class WalletMonitorServiceTests {
|
|||||||
}
|
}
|
||||||
),
|
),
|
||||||
expect { event: ServiceToClientEvent.Transaction ->
|
expect { event: ServiceToClientEvent.Transaction ->
|
||||||
require(event.transaction.sigs.size == 1)
|
require(event.transaction.mustSign.size == 1)
|
||||||
event.transaction.sigs.map { it.by }.toSet().containsAll(
|
event.transaction.mustSign.containsAll(
|
||||||
listOf(
|
listOf(
|
||||||
monitorServiceNode.services.storageService.myLegalIdentity.owningKey
|
monitorServiceNode.services.storageService.myLegalIdentity.owningKey
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user