Skip to content

Commit

Permalink
Fabo/fix fees on polkadot (#221)
Browse files Browse the repository at this point in the history
* always use cheap source maps

* remove e2e tests for now

* changelog

* use correct build command

* release-1.0.19

* check if transaction data is available

* changelog

Co-authored-by: Lunie Bot <bot@lunie.io>
  • Loading branch information
faboweb and Lunie Bot authored May 12, 2020
1 parent 6003e39 commit eb5c3ed
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,4 @@
"yargs-parser": ">=18.1.2",
"minimist": ">=1.2.3"
}
}
}
1 change: 1 addition & 0 deletions pending/fabo_fix-fees-on-polkadot
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[Fixed] Fix claim transaction not displaying @faboweb
6 changes: 5 additions & 1 deletion src/scripts/parsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ export function getDisplayTransaction(
}
]
}
if (network.network_type === 'polkadot' && !!transactionData.fee) {
if (
network.network_type === 'polkadot' &&
transactionData &&
!!transactionData.fee
) {
fees = [
{
amount: transactionData.fee.amount,
Expand Down

0 comments on commit eb5c3ed

Please sign in to comment.