Switch from ETH/WBTC to RBTC/BTC

This commit is contained in:
2022-05-22 17:02:54 +02:00
parent 6cd62d3764
commit 44b631c688
7 changed files with 17 additions and 17 deletions
+2 -2
View File
@@ -6,10 +6,10 @@ export default helper(function fmtCryptoCurrency(params/*, hash*/) {
const code = params[1];
switch(code) {
case 'ETH':
case 'RBTC':
fmtAmount = amount / 1000000000000000000;
break;
case 'WBTC':
case 'BTC':
fmtAmount = amount / 100000000;
break;
}