aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test-shell.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/test-shell.md')
-rw-r--r--test/functional/test-shell.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/test-shell.md b/test/functional/test-shell.md
index b8e899d675..78737509cb 100644
--- a/test/functional/test-shell.md
+++ b/test/functional/test-shell.md
@@ -94,7 +94,7 @@ rewards to a wallet address owned by the mining node.
```
>>> address = test.nodes[0].getnewaddress()
->>> test.nodes[0].generatetoaddress(101, address)
+>>> test.self.generatetoaddress(nodes[0], 101, address)
['2b98dd0044aae6f1cca7f88a0acf366a4bfe053c7f7b00da3c0d115f03d67efb', ...
```
Since the two nodes are both initialized by default to establish an outbound