From 5b2a3822b1bbe3e3ca3e117a00b81b07a5cac922 Mon Sep 17 00:00:00 2001
From: Inso <insomniak.fr@gmail.com>
Date: Sun, 14 Dec 2014 18:20:19 +0100
Subject: [PATCH] Fixing bug in Sources

---
 ucoinpy/api/bma/tx/__init__.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ucoinpy/api/bma/tx/__init__.py b/ucoinpy/api/bma/tx/__init__.py
index a7adc5f3..384b7ff9 100644
--- a/ucoinpy/api/bma/tx/__init__.py
+++ b/ucoinpy/api/bma/tx/__init__.py
@@ -38,6 +38,9 @@ class Process(Tx):
 
 class Sources(Tx):
     """Get transaction sources."""
+    def __init__(self, connection_handler, pubkey, module='tx'):
+        super(Tx, self).__init__(connection_handler, module)
+        self.pubkey = pubkey
 
     def __get__(self, **kwargs):
         assert self.pubkey is not None
-- 
GitLab