This repository was archived by the owner on Mar 28, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ import Profile from './models/profile/Profile';
42
42
import Settings from './models/settings/Settings' ;
43
43
import WalletBalances from './collections/wallet/Balances' ;
44
44
import Followers from './collections/Followers' ;
45
- import { fetchExchangeRates } from './utils/currency' ;
45
+ import { fetchExchangeRates , getExchangeRate } from './utils/currency' ;
46
46
import './utils/exchangeRateSyncer' ;
47
47
import { launchDebugLogModal , launchSettingsModal } from './utils/modalManager' ;
48
48
import listingDeleteHandler from './startup/listingDelete' ;
@@ -59,7 +59,7 @@ handleServerShutdownRequests();
59
59
60
60
// Will allow us to handle numbers with greater than 20 decimals places. Probably
61
61
// unlikely this will be needed, but just in case.
62
- bigNumber . config ( { RANGE : [ - 1e+9 , 1e+9 ] , DECIMAL_PLACES : 1e+9 } ) ;
62
+ bigNumber . config ( { DECIMAL_PLACES : 50 } ) ;
63
63
64
64
app . localSettings = new LocalSettings ( { id : 1 } ) ;
65
65
app . localSettings . fetch ( ) . fail ( ( ) => app . localSettings . save ( ) ) ;
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ before(function () {
40
40
} ;
41
41
42
42
// this should match what's in start.js
43
- bigNumber . config ( { RANGE : [ - 1e+9 , 1e+9 ] , DECIMAL_PLACES : 1e+9 } ) ;
43
+ bigNumber . config ( { DECIMAL_PLACES : 50 } ) ;
44
44
45
45
app . walletCurDef = walletCurDef ;
46
46
initWalletCurs ( walletCurs , walletCurDef ) ;
You can’t perform that action at this time.
0 commit comments