Skip to content
This repository was archived by the owner on Sep 5, 2020. It is now read-only.

Commit

Permalink
Txhistory fixes (#4150)
Browse files Browse the repository at this point in the history
* Fix undefined variable

* Tx history window: removig always on top setting
  • Loading branch information
evertonfraga authored Nov 19, 2018
1 parent 87640fc commit 0906eaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion interface/components/TxHistory/TxRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class TxRow extends Component {
valueToEtherAmount = value => {
const theValue = web3.utils.isHex(value)
? new BigNumber(web3.utils.hexToNumberString(value))
: new BigNumber(tx.value);
: new BigNumber(value);
const etherAmount = theValue
.dividedBy(new BigNumber('1000000000000000000'))
.toFixed();
Expand Down
2 changes: 1 addition & 1 deletion modules/windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ class Windows {
electronOptions: {
width: 580,
height: 465,
alwaysOnTop: true,
alwaysOnTop: false,
enableLargerThanScreen: false,
resizable: true
}
Expand Down

0 comments on commit 0906eaf

Please sign in to comment.