mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-21 00:24:37 +03:00
Merge pull request #12792 from Chia-Network/checkpoint/long_lived_atari_from_main_8552a94db744cc165af93035d80862951fa0875e
This commit is contained in:
commit
b404588cf4
@ -543,11 +543,17 @@ class WalletRpcApi:
|
|||||||
uint64(request.get("fee", 0)),
|
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 {
|
return {
|
||||||
"success": True,
|
"success": True,
|
||||||
"type": did_wallet.type(),
|
"type": did_wallet.type(),
|
||||||
"my_did": my_did,
|
"my_did": my_did_id,
|
||||||
"wallet_id": did_wallet.id(),
|
"wallet_id": did_wallet.id(),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user