From fbab6eba2d2be0f09430765a3574a8f8f0dacab4 Mon Sep 17 00:00:00 2001 From: benk10 Date: Mon, 24 May 2021 12:19:44 +0300 Subject: [PATCH] Add comment to remove eventually --- src/cryptoadvance/specter/helpers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cryptoadvance/specter/helpers.py b/src/cryptoadvance/specter/helpers.py index 73be4d5e81..a380f1b24c 100644 --- a/src/cryptoadvance/specter/helpers.py +++ b/src/cryptoadvance/specter/helpers.py @@ -325,6 +325,8 @@ def is_ip_private(ip): def get_address_from_dict(data_dict): + # TODO: Remove this helper function in favor of simple ["address"] + # when support for Bitcoin Core version < 22 is dropped return ( data_dict["addresses"][0] if "addresses" in data_dict and data_dict["addresses"][0]