-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: return error ks id when import multi times a same mnemonic (#77)
- Loading branch information
Showing
3 changed files
with
114 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
token-core/test-data/wallets/1bfddca9-84dc-4561-bbe9-844a9ff2b281
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"address": "2MwN441dq8qudMvtM5eLVwC3u4zfKuGSQAB", | ||
"imTokenMeta": { | ||
"source": "RECOVERED_IDENTITY", | ||
"timestamp": "1703213076.948025", | ||
"backup": [], | ||
"mode": "normal", | ||
"name": "a clone of 00fc0804-7cea-46d8-9e95-ed1efac65358", | ||
"version": "iOS-2.14.1.1742", | ||
"passwordHint": "", | ||
"chain": "BITCOIN", | ||
"network": "TESTNET", | ||
"segWit": "P2WPKH" | ||
}, | ||
"id": "1bfddca9-84dc-4561-bbe9-844a9ff2b281", | ||
"encMnemonic": { | ||
"nonce": "406c972f073ebf5b9102d262e6713408", | ||
"encStr": "76b940d06641023f995cffde6ee9c4bc7c063a780897b5debd619aafc769b37db684eafb10dd48c3c3cbcb810952bb4455984fde5aa34a1dfb4d5ad93293c0d3f3a78124639a4530b4c2" | ||
}, | ||
"xpub": "tpubDCwNET9ErXmBracx3ZBfi6rXQZRjYkpitFe23FAW9M3RcCw4aveNC4SAV5yYrFDjtP3b46eFfv4VtiYP3EXoTZsbnJia2yNznExS8EEcACv", | ||
"crypto": { | ||
"kdfparams": { | ||
"dklen": 32, | ||
"r": 8, | ||
"salt": "8fac63b4cc6d75817269a380bc8107572ecba3a8fe1ab87e46e30ab696ce2320", | ||
"p": 1, | ||
"n": 262144 | ||
}, | ||
"mac": "6daa39ee727416a135b02d6183c71624de0b7cf74fb3a3d1562488e66f308c76", | ||
"cipher": "aes-128-ctr", | ||
"ciphertext": "cdde8cafd9eff3f9715ef40577913e2ded3b8a9f009781d3367e4a1b02e95894c45ab6ef2658e7ef99b8437cba0f05f5c12caca60e97745b71581075f086a57afac8f626f3d2f7c94813edb6eb26b5cf8147fd32419a3abc762d71dc2be77d555cb75e983a74fa45f7b08e59ce7945", | ||
"cipherparams": { | ||
"iv": "a575c61a89577eea45af32df6aa4005a" | ||
}, | ||
"kdf": "scrypt" | ||
}, | ||
"version": 44, | ||
"mnemonicPath": "m/49'/1'/0'" | ||
} |