Commit b8f52fd7 authored by Marek Kotewicz's avatar Marek Kotewicz
Browse files

fixed bugs with displaying incorrect qr code

parent 269d48e7
...@@ -20,7 +20,7 @@ async function signTransaction(dispatch, account, rlp) { ...@@ -20,7 +20,7 @@ async function signTransaction(dispatch, account, rlp) {
let hash = await keccak(rlp) let hash = await keccak(rlp)
let signature = await brainWalletSign(account.seed, hash) let signature = await brainWalletSign(account.seed, hash)
dispatch(signedTx(signature)) dispatch(signedTx(signature))
Actions.txViewTx() Actions.qrViewTx()
} catch (e) { } catch (e) {
console.log(e) console.log(e)
} }
......
...@@ -31,7 +31,7 @@ async function onScannedTransaction(data, dispatch) { ...@@ -31,7 +31,7 @@ async function onScannedTransaction(data, dispatch) {
} }
let tx = await transaction(tx_request.rlp); let tx = await transaction(tx_request.rlp);
dispatch(selectAccount(account)) dispatch(selectAccount(account))
dispatch(scannedTx(data.rlp, tx)) dispatch(scannedTx(tx_request.rlp, tx))
//Vibration.vibrate() //Vibration.vibrate()
Actions.txDetails() Actions.txDetails()
scanning = false scanning = false
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment