Skip to content

Commit 44a9bfc

Browse files
authored
Update TransferPartTokens.java
call ordering changes
1 parent e40595f commit 44a9bfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tokens/bikemarket/workflows/src/main/java/net/corda/examples/bikemarket/flows/TransferPartTokens.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ public String call() throws FlowException {
6767
SignedTransaction ptx = getServiceHub().signInitialTransaction(txBuilder);
6868
SignedTransaction stx = subFlow(new CollectSignaturesFlow(ptx, Collections.singletonList(sellerSession)));
6969

70-
// Update the distribution list
71-
subFlow(new UpdateDistributionListFlow(stx));
7270
SignedTransaction ftx = subFlow(new ObserverAwareFinalityFlow(stx, Collections.singletonList(sellerSession)));
7371

72+
// Update the distribution list
73+
subFlow(new UpdateDistributionListFlow(stx));
7474
return "Transfer ownership of the frame ("+this.frameModel+") to" +this.holder.getName().getOrganisation()
7575
+ "\nTransaction ID: " + ftx.getId();
7676

0 commit comments

Comments
 (0)