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