Skip to content

Commit

Permalink
chore: increase delay before wallet decrypt, ref #549
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed Jan 20, 2021
1 parent 2e666ec commit 6e0df0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
9 changes: 2 additions & 7 deletions app/components/version-info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,12 @@ export const VersionInfo: FC = () => {
Found a bug? Open an issue
</Text>
{pullRequest && branchName && (
<Text
mr="base-tight"
onClick={openPullRequestLink}
textDecoration="underline"
cursor="pointer"
>
<Text mr="tight" onClick={openPullRequestLink} textDecoration="underline" cursor="pointer">
{branchName}
</Text>
)}
{shaShort && (
<Text mr="base-tight">
<Text mr="tight">
Commit:{' '}
<Text
cursor="pointer"
Expand Down
3 changes: 2 additions & 1 deletion app/modals/transaction/transaction-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ export const TransactionModal: FC<TxModalProps> = ({ balance, address }) => {

if (walletType === 'software') {
setIsDecrypting(true);
await delay(100);
await delay(300);

const [decryptionError, privateKey] = await safeAwait(getSoftwareWalletPrivateKey());

if (decryptionError) {
Expand Down

0 comments on commit 6e0df0d

Please sign in to comment.