Hello world tutorial state code incorrect for Corda v4

Description

Since the BelongsToContract annotation is required for ContractState subclasses to associate them with a Contract subclass.

The "hello world" code in the documentation doesn't reflect this and when a user copy-pastes the example, they will get a runtime error.

Assignee

Barry Lapthorn

Reporter

Barry Lapthorn

Labels

Priority

Lowest

Fix versions

Ported to...

None

Feature Team

Kernel Group

CVSS Vector

None

Engineering Teams

None

Severity

Low

Sprint

Affects versions

Configure