Fix decrypted data for blockchain data
This commit is contained in:
@@ -20,7 +20,7 @@ function ProfileTableItem(props) {
|
||||
<img className="rounded-full" src={props.image} width="40" height="40" alt={props.property} />
|
||||
</div>
|
||||
<div className="flex flex-col w-60">
|
||||
<div className="font-semibold text-slate-800 text-base">{props.value}</div>
|
||||
<div className="font-semibold text-slate-800 text-base">{props.status==='Blockchained'?`${props.value.slice(0,4)}****${props.value.slice(props.value.length-4)}`:props.value}</div>
|
||||
<div className="font-normal text-xxs">{props.property}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -227,7 +227,7 @@ class Store {
|
||||
return {
|
||||
...initialData,
|
||||
status: 'Blockchained',
|
||||
value: `${elem.value.slice(0,4)}****${elem.value.slice(elem.value.length-4)}`
|
||||
value: elem.value
|
||||
}
|
||||
}
|
||||
const [seed, value] = cryptography.decryptMessageWithPassphrase(elem.value, elem.value_nonce, this.passPhrase, this.pubKey).split(':');
|
||||
|
||||
Reference in New Issue
Block a user