Typo - should be @BelongsToContract not @BelongToContract (#5029)

This commit is contained in:
Cais Manai 2019-04-16 12:16:05 +01:00 committed by Shams Asari
parent 2f625c7dc7
commit 696bbd92ef

View File

@ -87,7 +87,7 @@ indicating the ``Contract`` class to which it is tied:
.. sourcecode:: java
@BelongToContract(MyContract.class)
@BelongsToContract(MyContract.class)
public class MyState implements ContractState {
// implementation goes here
}
@ -270,4 +270,4 @@ Wrong fully-qualified contract name
You are specifying the fully-qualified name of the contract incorrectly. For example, you've defined ``MyContract`` in
the package ``com.mycompany.myapp.contracts``, but the fully-qualified contract name you pass to the
``TransactionBuilder`` is ``com.mycompany.myapp.MyContract`` (instead of ``com.mycompany.myapp.contracts.MyContract``).
``TransactionBuilder`` is ``com.mycompany.myapp.MyContract`` (instead of ``com.mycompany.myapp.contracts.MyContract``).