From 3edac78c3e7661cc4ca16f679b855fdd100623c7 Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 12 Feb 2018 13:27:45 +0400 Subject: [PATCH] create coinbase transaction --- pybtc/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pybtc/tools.py b/pybtc/tools.py index ebb2fc0..54fecbe 100644 --- a/pybtc/tools.py +++ b/pybtc/tools.py @@ -424,7 +424,7 @@ def merkle_branches(tx_hash_list): tx_hash_list = list(tx_hash_list) branches = [] if len(tx_hash_list) == 1: - return tx_hash_list[0] + return tx_hash_list tx_hash_list.pop(0) while True: branches.append(tx_hash_list.pop(0))