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)

Activity

Show:
Gavin Thomas
July 24, 2018, 8:55 AM

Doc fix

David Wray
July 27, 2018, 2:15 PM

Updated text to reflect the correct method

Assignee

David Wray

Reporter

David Wray

Sprint

None

Epic Link

None

Priority

Low

Severity

Low

CVSS Score

None

CVSS Vector

None

Due Date

None

Engineering Teams

None

Fix versions

Affects versions

Ported to...

None

Story Points / Dev Days

None
Configure