-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot Issue an IOU on Corda-Training-Template Java-Src #45
Comments
hello, I'm getting the same error
and response
|
I found the issue with my code Maven compiler plugin was defaulting to 3.1 which means that On Top of that, I had to change the IOUState constructor by making is json creator. The constructor now looks like this,
Now running the flow works
Then querying the vault results in
|
The IOUIssueFlow takes a parameter of
IOUState state
. As described in creating-an-instance-of-a-class, we can provide the state object to the flow via the crash shell as (also tried without the dollar sign):This statement works with the Kotlin version of the corda-training-template but throws the following error in the Java version:
Although I am not using the default constructor, the default constructor should still be called by
this()
:What is the proper syntax to issue an IOU state in the corda-training-template?
The text was updated successfully, but these errors were encountered: