sendMax bugfix when returning to previous screen

This commit is contained in:
Sebastiaan Pasma 2018-08-09 13:39:27 +02:00
commit ee0042b6e7
No known key found for this signature in database
GPG key ID: 9A2B0C8B95A1D26F
3 changed files with 12 additions and 6 deletions

View file

@ -223,7 +223,7 @@ function reviewController(addressbookService, bitcoinCashJsService, bitcore, bit
// Grab stateParams
tx = {
amount: parseInt(sendFlowData.amount),
sendMax: sendFlowData.sendMax === 'true' ? true : false,
sendMax: sendFlowData.sendMax,
fromWalletId: sendFlowData.fromWalletId,
toAddress: sendFlowData.toAddress,
paypro: txPayproData,