ttrustedcoin: check that price does not exceed predefined value - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 33f48276db0d3ca325758cfabf02bc64af54ab5b DIR parent 622b9d13ee609c22c0ea608e7fc6abd2b1c9708d HTML Author: ThomasV <thomasv@gitorious> Date: Fri, 23 Jan 2015 17:12:26 +0100 ttrustedcoin: check that price does not exceed predefined value Diffstat: M plugins/trustedcoin.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- DIR diff --git a/plugins/trustedcoin.py b/plugins/trustedcoin.py t@@ -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