Skip to content

Commit

Permalink
Multi-sig address balance fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jplomas committed May 24, 2023
1 parent 81c413f commit 25a0ff3
Show file tree
Hide file tree
Showing 3 changed files with 724 additions and 4,543 deletions.
8 changes: 4 additions & 4 deletions development.json
Expand Up @@ -3,8 +3,8 @@
"webhook": "INSERT GLIP WEBHOOK HTTPS:// ADDRESS HERE"
},
"api": {
"primaryNode": "devnet-1.automated.theqrl.org:19009",
"secondaryNode": "devnet-1.automated.theqrl.org:19009",
"tertiaryNode": "devnet-1.automated.theqrl.org:19009"
"primaryNode": "testnet-1.automated.theqrl.org:19009",
"secondaryNode": "testnet-1.automated.theqrl.org:19009",
"tertiaryNode": "testnet-1.automated.theqrl.org:19009"
}
}
}
4 changes: 3 additions & 1 deletion imports/ui/components/address/address.js
Expand Up @@ -268,7 +268,9 @@ const renderAddressBlock = () => {
if (!(res.state.address)) {
res.state.address = aId
}
res.state.balance = (parseInt(res.state.balance, 10) / SHOR_PER_QUANTA).toFixed(8)
let bal = new BigNumber(res.state.balance)
bal = bal.div(SHOR_PER_QUANTA)
res.state.balance = bal.toString()
Session.set('address', addressResultsRefactor(res))
}
})
Expand Down

0 comments on commit 25a0ff3

Please sign in to comment.