Skip to content

Commit

Permalink
Merge pull request #402 from Concordium/fix-max-contract-energy-display
Browse files Browse the repository at this point in the history
Fix rendering of max contract execution energy
  • Loading branch information
orhoj authored Nov 6, 2023
2 parents 23ffe62 + 533cccd commit 31ddf8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/browser-wallet/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

- Sign message's rendered view displaying 'a' when deserialization failed.
- Sign message's stringification failing with new `deserializeTypeValue`.
- An issue where the max contract execution energy was not rendered correctly for init contract transactions.

## 1.1.10

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function DisplayInitContract({ payload, parameters }: Props) {
{displayAsCcd(payload.amount.microCcdAmount)}
<h5>{t('maxEnergy')}:</h5>
<span>
{payload.maxContractExecutionEnergy.toString()} {t('nrg')}
{payload.maxContractExecutionEnergy.value.toString()} {t('nrg')}
</span>
<DisplayParameters parameters={parameters} />
</>
Expand Down

0 comments on commit 31ddf8d

Please sign in to comment.