URI: 
       treplace instances of get_unspent_coins - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit 43b8e202fdee6fed4324419729fac858cd0065f6
   DIR parent a99c2bc9fae73db95624e38e0c9e3f561c3947f6
  HTML Author: ThomasV <thomasv@gitorious>
       Date:   Wed,  6 May 2015 07:25:50 +0200
       
       replace instances of get_unspent_coins
       
       Diffstat:
         M lib/commands.py                     |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
   DIR diff --git a/lib/commands.py b/lib/commands.py
       t@@ -146,7 +146,7 @@ class Commands:
                return self.network.synchronous_get([ ('blockchain.address.get_history',[addr]) ])[0]
        
            def listunspent(self):
       -        l = copy.deepcopy(self.wallet.get_unspent_coins())
       +        l = copy.deepcopy(self.wallet.get_spendable_coins())
                for i in l: i["value"] = str(Decimal(i["value"])/100000000)
                return l
        
       t@@ -159,7 +159,7 @@ class Commands:
                    return {'address':r[0] }
        
            def createrawtransaction(self, inputs, outputs):
       -        coins = self.wallet.get_unspent_coins(None)
       +        coins = self.wallet.get_spendable_coins(None)
                tx_inputs = []
                for i in inputs:
                    prevout_hash = i['txid']