From 361ca0dcfc1c44018a1ad1abcd75923311ddbffb Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Fri, 4 Feb 2022 14:08:48 -0800 Subject: [PATCH] Wallet tutorial: allow creation of new accounts by default --- .../build-a-wallet/py/6_verification_and_polish.py | 2 +- content/_code-samples/build-a-wallet/py/7_owned_objects.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/_code-samples/build-a-wallet/py/6_verification_and_polish.py b/content/_code-samples/build-a-wallet/py/6_verification_and_polish.py index 61b0d9359f..bff66401b2 100644 --- a/content/_code-samples/build-a-wallet/py/6_verification_and_polish.py +++ b/content/_code-samples/build-a-wallet/py/6_verification_and_polish.py @@ -375,7 +375,7 @@ class SendXRPDialog(wx.Dialog): if err_msg: # Disabling the button is optional. These types of errors can be # benign, so you could let the user "click through" them. - self.btn_send.Disable() + # self.btn_send.Disable() self.err_to.SetToolTip(err_msg) self.err_to.Show() else: diff --git a/content/_code-samples/build-a-wallet/py/7_owned_objects.py b/content/_code-samples/build-a-wallet/py/7_owned_objects.py index 5e3f106957..1dfd32e6e4 100644 --- a/content/_code-samples/build-a-wallet/py/7_owned_objects.py +++ b/content/_code-samples/build-a-wallet/py/7_owned_objects.py @@ -393,7 +393,7 @@ class SendXRPDialog(wx.Dialog): if err_msg: # Disabling the button is optional. These types of errors can be # benign, so you could let the user "click through" them. - self.btn_send.Disable() + # self.btn_send.Disable() self.err_to.SetToolTip(err_msg) self.err_to.Show() else: