Updates TwoPartyTradeFlow to use the CollectSignaturesFlow.

This commit is contained in:
Joel Dudley
2017-06-01 11:08:39 +01:00
committed by GitHub
parent f8e2766924
commit f646936ab8
4 changed files with 236 additions and 245 deletions

View File

@ -308,7 +308,7 @@ class TwoPartyTradeFlowTests {
attachment(ByteArrayInputStream(stream.toByteArray()))
}
val extraKey = bobNode.keyManagement.freshKey()
val extraKey = bobNode.keyManagement.keys.single()
val bobsFakeCash = fillUpForBuyer(false, AnonymousParty(extraKey),
DUMMY_CASH_ISSUER.party,
notaryNode.info.notaryIdentity).second
@ -407,7 +407,7 @@ class TwoPartyTradeFlowTests {
attachment(ByteArrayInputStream(stream.toByteArray()))
}
val bobsKey = bobNode.keyManagement.freshKey()
val bobsKey = bobNode.keyManagement.keys.single()
val bobsFakeCash = fillUpForBuyer(false, AnonymousParty(bobsKey),
DUMMY_CASH_ISSUER.party,
notaryNode.info.notaryIdentity).second