diff --git a/lib/ucoin/wrappers/transactions.py b/lib/ucoin/wrappers/transactions.py index ff19ee7f6d2d5d3f6d907eb35b349c80bd44015e..f7878f0c2281bff870b01c82ad82eb13f1c1f93a 100644 --- a/lib/ucoin/wrappers/transactions.py +++ b/lib/ucoin/wrappers/transactions.py @@ -124,9 +124,9 @@ Coins: for coin in self.coins: tx += '%s' % coin - context_data.update(hdc.coins.view.Owner(coin, self.server, self.port).get()) - if 'transaction' in context_data: - tx += ':%(transaction)s\n' % context_data + ownership = hdc.coins.view.Owner(coin, self.server, self.port).get() + if 'transaction' in ownership: + tx += ':%(transaction)s\n' % ownership else: tx += "\n"