Skip to content

Commit fb1ba69

Browse files
Added InitializingFlowStep to IssueRewardFlow.
1 parent 18a547a commit fb1ba69

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed

docs/CHANGELOG-2.1.0.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
![ONIX Labs](https://raw.githubusercontent.com/onix-labs/onix-labs.github.io/master/content/logo/master_full_md.png)
2+
3+
# Change Log - Version 0.0.0
4+
5+
This document serves as the change log for the ONIXLabs Corda Core API.
6+
7+
## Release Notes
8+
9+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
10+
11+
---
12+
13+
### TypeName _Declaration_
14+
15+
**Module:** onixlabs-corda-core-modulename
16+
17+
**Package:** io.onixlabs.corda.core.packagename
18+
19+
Description of the type or feature.
20+
21+
```kotlin
22+
class TypeName
23+
```
24+
25+
#### Remarks
26+
27+
This extension property can be used to determine whether the participants of a state are unique, regardless of the ordering of those participants.
28+
29+
---
30+

docs/CHANGELOG-TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class TypeName
2424

2525
#### Remarks
2626

27-
This extension property can be used to determine whether the participants of a state are unique, regardless of the ordering of those participants.
27+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
2828

2929
---
3030

onixlabs-corda-test-workflow/src/main/kotlin/io/onixlabs/corda/test/workflow/IssueRewardFlow.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ class IssueRewardFlow(
3939
companion object {
4040
@JvmStatic
4141
fun tracker() = ProgressTracker(
42+
InitializingFlowStep,
4243
BuildingTransactionStep,
4344
VerifyingTransactionStep,
4445
SigningTransactionStep,
@@ -49,6 +50,7 @@ class IssueRewardFlow(
4950

5051
@Suspendable
5152
override fun call(): SignedTransaction {
53+
currentStep(InitializingFlowStep)
5254
val customer = reward.customer.resolveOrThrow(serviceHub)
5355
val signature = SignatureData.create(reward.hash().bytes, reward.issuer.owningKey, serviceHub)
5456

0 commit comments

Comments
 (0)