From 95413cd1a9a457bdf35de6d07d4b9dc65ad3e0e2 Mon Sep 17 00:00:00 2001 From: Janne Pulkkinen Date: Tue, 19 Aug 2014 20:57:37 +0300 Subject: [PATCH] Confirmation count included in API command history --- lib/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands.py b/lib/commands.py index 4f9df0fc..fc6dc855 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -320,7 +320,7 @@ class Commands: label, is_default_label = self.wallet.get_label(tx_hash) - out.append({'txid':tx_hash, 'date':"%16s"%time_str, 'label':label, 'value':format_satoshis(value)}) + out.append({'txid':tx_hash, 'date':"%16s"%time_str, 'label':label, 'value':format_satoshis(value), 'confirmations':conf}) return out def setlabel(self, key, label):