You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code doesn't work with current dependency for CollectSignatureFlow, FinalityFlow and ReceiveFinalityFlow, what should they actually be?
in CarFlow.kt, in CarIssueInitiator class, the tutorial has: val sessions = (carState.participants - ourIdentity).map { initiateFlow(it as Party) } val stx = subFlow(CollectSignaturesFlow(tx, sessions)) return subFlow(FinalityFlow(stx, sessions))
The last 2 lines has syntax error, CollectSignaturesFlow does not have an implementation taking a list of FlowSession, and FinalityFlow need to pass a ProgressTracker it seems, or convert sessions to Array
in CarIssueResponder class,
the tutorial has return subFlow(ReceiveFinalityFlow(counterpartySession, txWeJustSignedId))
ReceiveFinalityFlow implementation does not has a version taking a FlowLogic as param.
The text was updated successfully, but these errors were encountered:
in CarFlow.kt
The following code doesn't work with current dependency for CollectSignatureFlow, FinalityFlow and ReceiveFinalityFlow, what should they actually be?
in CarFlow.kt, in CarIssueInitiator class, the tutorial has:
val sessions = (carState.participants - ourIdentity).map { initiateFlow(it as Party) } val stx = subFlow(CollectSignaturesFlow(tx, sessions)) return subFlow(FinalityFlow(stx, sessions))
The last 2 lines has syntax error, CollectSignaturesFlow does not have an implementation taking a list of FlowSession, and FinalityFlow need to pass a ProgressTracker it seems, or convert sessions to Array
in CarIssueResponder class,
the tutorial has
return subFlow(ReceiveFinalityFlow(counterpartySession, txWeJustSignedId))
ReceiveFinalityFlow implementation does not has a version taking a FlowLogic as param.
The text was updated successfully, but these errors were encountered: