From 361868737760a2398f73cf6fcc352433f20cbecc Mon Sep 17 00:00:00 2001 From: Vivek Teega Date: Tue, 12 Jul 2022 11:37:41 +0000 Subject: [PATCH] Bug fix --- pyflo/functions/script.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyflo/functions/script.py b/pyflo/functions/script.py index 744bef9..40e9cb0 100644 --- a/pyflo/functions/script.py +++ b/pyflo/functions/script.py @@ -413,7 +413,8 @@ def verify_signature_standard_ops(sig, pub_key, msg, flo_id): :flo_id: FLO ID in HEX encoded string. :return: boolean. """ - derived_floid = pyflo.Address(pub_key) + pub_key = pyflo.PublicKey(pub_key) + derived_floid = pyflo.Address(pub_key, address_type="P2PKH").address if flo_id==derived_floid: url = 'https://flo-sign-validator.duckdns.org' post_data = {