Skip to content

Commit 5baa791

Browse files
Merge pull request #15473 from ryabykhms/docs-example-issue
docs: fixed a mismatch in the name of the function referenced in the micropayment example
2 parents 7526fbc + ae3da8c commit 5baa791

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/examples/micropayment.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,8 @@ Opening the Payment Channel
274274

275275
To open the payment channel, Alice deploys the smart contract, attaching
276276
the Ether to be escrowed and specifying the intended recipient and a
277-
maximum duration for the channel to exist. This is the function
278-
``SimplePaymentChannel`` in the contract, at the end of this section.
277+
maximum duration for the channel to exist. This is the ``constructor``
278+
in the ``SimplePaymentChannel`` contract, at the end of this section.
279279

280280
Making Payments
281281
---------------

0 commit comments

Comments
 (0)