Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
parity-signer
Commits
b8f52fd7
Commit
b8f52fd7
authored
Mar 07, 2017
by
Marek Kotewicz
Browse files
fixed bugs with displaying incorrect qr code
parent
269d48e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/containers/AccountPin.js
View file @
b8f52fd7
...
...
@@ -20,7 +20,7 @@ async function signTransaction(dispatch, account, rlp) {
let
hash
=
await
keccak
(
rlp
)
let
signature
=
await
brainWalletSign
(
account
.
seed
,
hash
)
dispatch
(
signedTx
(
signature
))
Actions
.
tx
ViewTx
()
Actions
.
qr
ViewTx
()
}
catch
(
e
)
{
console
.
log
(
e
)
}
...
...
src/containers/QrScanner.js
View file @
b8f52fd7
...
...
@@ -31,7 +31,7 @@ async function onScannedTransaction(data, dispatch) {
}
let
tx
=
await
transaction
(
tx_request
.
rlp
);
dispatch
(
selectAccount
(
account
))
dispatch
(
scannedTx
(
data
.
rlp
,
tx
))
dispatch
(
scannedTx
(
tx_request
.
rlp
,
tx
))
//Vibration.vibrate()
Actions
.
txDetails
()
scanning
=
false
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment