Skip to content
This repository has been archived by the owner on Dec 19, 2020. It is now read-only.

Commit

Permalink
fix tx confirmation popup
Browse files Browse the repository at this point in the history
add dragonereum to bookmarks
  • Loading branch information
vbloher committed Nov 23, 2018
1 parent 8d21b3e commit ae3dfef
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/containers/Application/ConfirmationPopup.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ class ConfirmationPopupContainer extends Component {
let _gasPriceGwei;
let _amount;
let totalAmount;
let value;
let value = 0;

if (request) {
try {
value = request.params[0].value;
value = request.params[0].value || 0;
_from = request.params[0].from;
_to = request.params[0].to;
if (request.params[0].gas) {
Expand Down
1 change: 0 additions & 1 deletion src/cyber/Cyber.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ function Cyber(nodeUrl) {
self.restoreAccount = function (seedPhrase) {
return new Promise((resolve) => {
const account = recoverCyberdAccount(seedPhrase);
debugger
__accounts[account.address] = account;

localStorage.setItem('cyberAccounts', JSON.stringify(__accounts));
Expand Down
5 changes: 5 additions & 0 deletions src/redux/appMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ const initState = {
rootDura: 'rr.cyb',
subItems: {},
},
{
name: 'Dragons',
rootDura: '.dragons',
subItems: {},
},
{
name: 'Help',
rootDura: '.help/#/',
Expand Down
4 changes: 4 additions & 0 deletions src/redux/rootRegistry.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ const initState = {
hash: 'QmNUfwVQoZsXoFVQCaxszm1AEEyx1i5eZRw1Jcvs53rfQB',
protocol: 'ipfs',
},
dragons: {
hash: 'QmZt8EytibMPGur5TaVxv2JwzeMP1X6tGDbp9KpwhvFKNm',
protocol: 'ipfs',
},
},
};

Expand Down

0 comments on commit ae3dfef

Please sign in to comment.