mirror of
https://github.com/corda/corda.git
synced 2025-05-29 13:44:25 +00:00
[CORDA-460]: Removed usages of IdentityService.registerIdentity(party: PartyAndCertificate)
(#1472)
This commit is contained in:
parent
c269642fcf
commit
330db73c5d
@ -205,7 +205,7 @@ class TwoPartyTradeFlowTests {
|
|||||||
val allNodes = listOf(notaryNode, aliceNode, bobNode, bankNode)
|
val allNodes = listOf(notaryNode, aliceNode, bobNode, bankNode)
|
||||||
allNodes.forEach { node ->
|
allNodes.forEach { node ->
|
||||||
node.database.transaction {
|
node.database.transaction {
|
||||||
allNodes.map { it.services.myInfo.legalIdentityAndCert }.forEach { identity -> node.services.identityService.registerIdentity(identity) }
|
allNodes.map { it.services.myInfo.legalIdentityAndCert }.forEach { identity -> node.services.identityService.verifyAndRegisterIdentity(identity) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -619,7 +619,7 @@ class TwoPartyTradeFlowTests {
|
|||||||
val allNodes = listOf(notaryNode, aliceNode, bobNode, bankNode)
|
val allNodes = listOf(notaryNode, aliceNode, bobNode, bankNode)
|
||||||
allNodes.forEach { node ->
|
allNodes.forEach { node ->
|
||||||
node.database.transaction {
|
node.database.transaction {
|
||||||
allNodes.map { it.services.myInfo.legalIdentityAndCert }.forEach { identity -> node.services.identityService.registerIdentity(identity) }
|
allNodes.map { it.services.myInfo.legalIdentityAndCert }.forEach { identity -> node.services.identityService.verifyAndRegisterIdentity(identity) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user