Skip to content

Commit

Permalink
fix console doc: gui -> window
Browse files Browse the repository at this point in the history
  • Loading branch information
ecdsa committed Mar 30, 2022
1 parent f9519d1 commit 66c0185
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions console.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ to dump the private keys of all adresses that have unspent outputs:
Note that dumpprivkey will ask for your password if your
wallet is encrypted.
The GUI methods can be accessed through the gui variable.
The GUI methods can be accessed through the 'window' variable.
For example, you can display a QR code from a string
using gui.show_qrcode. Example:
using window.show_qrcode. Example:

.. code-block:: python
gui.show_qrcode(dumpprivkey(listunspent()[0]['address']))
window.show_qrcode(dumpprivkey(listunspent()[0]['address']))

0 comments on commit 66c0185

Please sign in to comment.