Skip to content

Commit ed8dc82

Browse files
committed
update
1 parent e7c2e11 commit ed8dc82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cobo_custody/client/mpc_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,11 +290,11 @@ def get_max_send_amount(self, coin: str, fee_rate: float, to_address: str, from_
290290
params["from_address"] = from_address
291291
return self.request("GET", "/v1/custody/mpc/get_max_send_amount/", params)
292292

293-
def lock_spendable(self, coin: str, tx_hash: str, vout_n: str):
293+
def lock_spendable(self, coin: str, tx_hash: str, vout_n: int):
294294
params = {"coin": coin, "tx_hash": tx_hash, "vout_n": vout_n}
295295
return self.request("POST", "/v1/custody/mpc/lock_spendable/", params)
296296

297-
def unlock_spendable(self, coin: str, tx_hash: str, vout_n: str):
297+
def unlock_spendable(self, coin: str, tx_hash: str, vout_n: int):
298298
params = {"coin": coin, "tx_hash": tx_hash, "vout_n": vout_n}
299299
return self.request("POST", "/v1/custody/mpc/unlock_spendable/", params)
300300

0 commit comments

Comments
 (0)