mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-20 16:16:33 +01:00
fixes, allow sats below 1
This commit is contained in:
@@ -149,7 +149,7 @@ def get_amount_per_task(task, dvm_config, duration=1):
|
||||
duration = 1
|
||||
for dvm in dvm_config.SUPPORTED_DVMS: # this is currently just one
|
||||
if dvm.TASK == task:
|
||||
amount = dvm.COST * int(duration)
|
||||
amount = dvm.COST * duration
|
||||
return amount
|
||||
else:
|
||||
print("[" + dvm_config.SUPPORTED_DVMS[
|
||||
|
||||
Reference in New Issue
Block a user