mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-09-07 18:14:25 -05:00
fixes types
This commit is contained in:
committed by
Gene Hoffman
parent
6c67c1e5a7
commit
c96db8f23b
@@ -369,7 +369,7 @@ class WalletRpcApi:
|
||||
)
|
||||
return {"success": success,
|
||||
"id": rl_admin.wallet_info.id,
|
||||
"type": rl_admin.wallet_info.type.name,
|
||||
"type": rl_admin.wallet_info.type,
|
||||
"origin": rl_admin.rl_info.rl_origin,
|
||||
"pubkey": rl_admin.rl_info.admin_pubkey.hex()}
|
||||
except Exception as e:
|
||||
|
||||
@@ -79,7 +79,7 @@ class RLWallet(AbstractWallet):
|
||||
wallet_info: Optional[
|
||||
WalletInfo
|
||||
] = await wallet_state_manager.user_store.create_wallet(
|
||||
"RL Admin", WalletType.RATE_LIMITED, info_as_string
|
||||
"RL Admin", WalletType.RATE_LIMITED.value, info_as_string
|
||||
)
|
||||
if wallet_info is None:
|
||||
raise Exception("wallet_info is None")
|
||||
@@ -90,7 +90,7 @@ class RLWallet(AbstractWallet):
|
||||
unused,
|
||||
token_bytes(),
|
||||
pubkey_bytes,
|
||||
WalletType.RATE_LIMITED,
|
||||
WalletType.RATE_LIMITED.value,
|
||||
wallet_info.id,
|
||||
)
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user