electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 7bf1a6248ebffd09ae0229327bcd2dfda1c4c455
parent 3eb746db5c851a523aca1a9b00007e6d924b23d6
Author: ThomasV <thomasv@gitorious>
Date:   Fri,  1 Mar 2013 06:43:08 +0100

use Decimal in listunspent

Diffstat:
Mlib/commands.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/commands.py b/lib/commands.py @@ -123,7 +123,7 @@ class Commands: def listunspent(self): import copy l = copy.deepcopy(self.wallet.get_unspent_coins()) - for i in l: i["value"] = i["value"]*1e-8 + for i in l: i["value"] = str(Decimal(i["value"])/100000000) return l def createrawtransaction(self, inputs, outputs):