Merge pull request #12792 from Chia-Network/checkpoint/long_lived_atari_from_main_8552a94db744cc165af93035d80862951fa0875e

This commit is contained in:
Kyle Altendorf 2022-08-04 10:27:30 -07:00 committed by GitHub
commit b404588cf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -543,11 +543,17 @@ class WalletRpcApi:
uint64(request.get("fee", 0)),
)
my_did = encode_puzzle_hash(bytes32.fromhex(did_wallet.get_my_DID()), DID_HRP)
my_did_id = encode_puzzle_hash(bytes32.fromhex(did_wallet.get_my_DID()), DID_HRP)
await NFTWallet.create_new_nft_wallet(
wallet_state_manager,
main_wallet,
bytes32.fromhex(did_wallet.get_my_DID()),
request.get("wallet_name", None),
)
return {
"success": True,
"type": did_wallet.type(),
"my_did": my_did,
"my_did": my_did_id,
"wallet_id": did_wallet.id(),
}