Open xavierlepretre opened 4 years ago
It would be beneficial, here that:
class SendKeyForAccountFlow(val otherSide: FlowSession) : FlowLogic<Unit>() {
Be instead:
class SendKeyForAccountFlow(val otherSide: FlowSession) : FlowLogic<AnonymousParty>() {
My use case is an atomic sale, 1 NFT in exchange for a bunch of fungible tokens:
RequestKeyForAccountFlow
SendKeyForAccountFlow
For the reason of "the buyer verifies that the transaction is correct", the buyer session needs to know what was sent earlier.
You will notice that this way of doing is already done in confidential identities here for ProvideKeyFlow.
ProvideKeyFlow
It would be beneficial, here that:
Be instead:
My use case is an atomic sale, 1 NFT in exchange for a bunch of fungible tokens:
RequestKeyForAccountFlow
.SendKeyForAccountFlow
.For the reason of "the buyer verifies that the transaction is correct", the buyer session needs to know what was sent earlier.
You will notice that this way of doing is already done in confidential identities here for
ProvideKeyFlow
.