Calculate the OTP code each time
This commit is contained in:
parent
7bc92dcef9
commit
c776278f04
|
@ -103,7 +103,6 @@ async def withdrawal_job(group=None):
|
|||
|
||||
platform = group.platforms.first()
|
||||
run = await AgoraClient(platform)
|
||||
otp_code = TOTP(platform.otp_token).now()
|
||||
|
||||
for wallet, pay_list_iter in pay_list.items():
|
||||
print("WALLET ITER", wallet)
|
||||
|
@ -127,7 +126,7 @@ async def withdrawal_job(group=None):
|
|||
"address": wallet.address,
|
||||
"amount": amount_rounded,
|
||||
"password": platform.password,
|
||||
"otp": otp_code,
|
||||
"otp": TOTP(platform.otp_token).now(),
|
||||
}
|
||||
|
||||
print("CAST ADDRESS", cast["address"])
|
||||
|
|
Loading…
Reference in New Issue