mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-03-17 21:31:52 +01:00
Update external_dvm_utils.py
This commit is contained in:
parent
5eee4424c2
commit
74c5953f01
@ -25,8 +25,9 @@ async def build_client(config):
|
||||
|
||||
def build_external_dvm(pubkey, task, kind, fix_cost, per_unit_cost, config,
|
||||
external_post_process=PostProcessFunctionType.NONE):
|
||||
pubkey = PublicKey.from_hex(pubkey).to_hex()
|
||||
dvm_config = DVMConfig()
|
||||
dvm_config.PUBLIC_KEY = PublicKey.from_hex(pubkey).to_hex()
|
||||
dvm_config.PUBLIC_KEY = pubkey
|
||||
dvm_config.FIX_COST = fix_cost
|
||||
dvm_config.PER_UNIT_COST = per_unit_cost
|
||||
dvm_config.EXTERNAL_POST_PROCESS_TYPE = external_post_process
|
||||
|
Loading…
x
Reference in New Issue
Block a user