electrum

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

commit ec795ba3c02b6e292994e8d81ca1b46b927c34eb
parent ab60da89ac3c2541173057a96a6a9ab7d8f2fe0e
Author: ThomasV <thomasv@gitorious>
Date:   Wed,  3 Jun 2015 11:39:44 +0200

fix var name

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

diff --git a/lib/commands.py b/lib/commands.py @@ -557,7 +557,7 @@ class Commands: def addrequest(self, requested_amount, reason='', expiration=60*60): """Create a payment request. """ - amount = int(Decimal(amount)*COIN) + amount = int(Decimal(requested_amount)*COIN) key = self.wallet.add_payment_request(self.config, amount, reason, expiration) return self._format_request(self.wallet.get_payment_request(key)) if key else False