electrum

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

commit 33f48276db0d3ca325758cfabf02bc64af54ab5b
parent 622b9d13ee609c22c0ea608e7fc6abd2b1c9708d
Author: ThomasV <thomasv@gitorious>
Date:   Fri, 23 Jan 2015 17:12:26 +0100

trustedcoin: check that price does not exceed predefined value

Diffstat:
Mplugins/trustedcoin.py | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/plugins/trustedcoin.py b/plugins/trustedcoin.py @@ -481,6 +481,7 @@ class Plugin(BasePlugin): return 0 # trustedcoin won't charge if the total inputs is lower than their fee price = int(self.price_per_tx.get(1)) + assert price <= 50000 if tx.input_value() < price: print_error("not charging for this tx") return 0