add missing f-string symbol

This commit is contained in:
Gonçalo Valério 2019-11-25 19:24:46 +00:00
parent 58f1fc6cfc
commit f1ed8f3827
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ def verify_signature(address: str, challenge: str, signature: str) -> bool:
host = settings.MONERO_WALLET_RPC_HOST
user = settings.MONERO_WALLET_RPC_USER
pwd = settings.MONERO_WALLET_RPC_PASS
wallet_rpc = AuthServiceProxy("{protocol}://{user}:{pwd}@{host}/json_rpc")
wallet_rpc = AuthServiceProxy(f"{protocol}://{user}:{pwd}@{host}/json_rpc")
result = wallet_rpc.verify(
{"data": challenge, "address": address, "signature": signature}