mirror of
https://github.com/fullstack-cash/fullstack-gatsby-theme-bch-wallet.git
synced 2026-09-21 16:52:06 -07:00
fix(send): Fixed 'Send Max' button
This commit is contained in:
Generated
+46
-35389
File diff suppressed because it is too large
Load Diff
@@ -224,7 +224,7 @@ class Send extends React.Component {
|
||||
|
||||
// Get total of satoshis fron the bch utxos
|
||||
let totalAmount = 0
|
||||
utxos.map(val => (totalAmount += val.satoshis))
|
||||
utxos.map(val => (totalAmount += val.value))
|
||||
|
||||
// Convert satoshis to bch
|
||||
let amountSat = totalAmount / 100000000
|
||||
|
||||
Reference in New Issue
Block a user