Hello World Tutorial Page mismatch between code sample and explanatory text

Description

In the hello world tutorial 'Writing the flow' page (https://docs.corda.r3.com/hello-world-flow.html) 'Signing The Transaction' section, the explanatory text refers to the method ServiceHub.toSignedTransaction, however, the code snippet above it invokes a different method.
Either:
final SignedTransaction signedTx = getServiceHub().signInitialTransaction(txBuilder); or
val signedTx = serviceHub.signInitialTransaction(txBuilder)

Status

Assignee

David.Wray@r3.com

Reporter

David.Wray@r3.com

Priority

Low

Fix versions

Ported to...

None

Feature Team

Corda Core

Severity

Low

Affects versions

Corda Enterprise 3.1
Configure