Skip to content

Commit

Permalink
Ana/display kusama fees in extension (#216)
Browse files Browse the repository at this point in the history
* display kusama fees in extension

* changelog

* simplify

* make friendly
  • Loading branch information
Bitcoinera authored May 8, 2020
1 parent 9b35381 commit e35733a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions pending/ana_4008-display-kusama-fees
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[Changed] [#216](https://github.com/cosmos/lunie/pull/216) Displays also Kusama fees @Bitcoinera
8 changes: 8 additions & 0 deletions src/scripts/parsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ export function getDisplayTransaction(
}
]
}
if (network.network_type === 'polkadot' && !!transactionData.fee) {
fees = [
{
amount: transactionData.fee.amount,
denom: transactionData.fee.denom
}
]
}
return {
type: messageType,
details: message,
Expand Down

0 comments on commit e35733a

Please sign in to comment.