Skip to content

Commit

Permalink
Fixes fee logic
Browse files Browse the repository at this point in the history
  • Loading branch information
comountainclimber committed Jan 13, 2023
1 parent a9c6bfe commit 90b559e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/components/Modals/ReleaseNotesModal/ReleaseNotesModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ const ReleaseNotesModal = ({ hideModal, theme }: Props) => (
<div className={styles.releaseNotesContents}>
<div className={styles.release}>
<div className={styles.releaseContent}>
<small className={styles.date}>Jan 11th 2023 </small>
<h3>Release v2.16.27</h3>
<small className={styles.date}>Jan 13th 2023 </small>
<h3>Release v2.16.28</h3>

<p>
In this update you will find the following minor improvements:
Expand Down
4 changes: 3 additions & 1 deletion app/containers/ConnectDapp/ConnectDapp.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ const ConnectDapp = ({
const extraSystemFee = request.params.request.params.extraSystemFee || 0

const fee = convertToArbitraryDecimals(
Number(results.result.gasconsumed) + extraNetworkFee + extraSystemFee,
Number(results.result.gasconsumed) +
Number(extraNetworkFee) +
Number(extraSystemFee),
)

setFee(fee)
Expand Down
2 changes: 1 addition & 1 deletion app/containers/Home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const shouldRenderReleaseNotes = version => {
'2.9.2',
'2.10.0-rc5',
'2.10.0',
'2.16.27',
'2.16.28',
]
if (
displayWhitelist.includes(version) &&
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Neon",
"version": "2.16.27",
"version": "2.16.28",
"main": "./main.js",
"description": "Light wallet for NEO blockchain",
"homepage": "https://github.com/CityOfZion/neon-wallet",
Expand Down

0 comments on commit 90b559e

Please sign in to comment.