Multiple bug fixes and improvements
This commit is contained in:
1 parent
c9037dff2a
commit
0df0857ec9
7 files changed
+72
-29
No files matched your search
+3
-3
@@ -304,10 +304,10 @@
|
||||
|
||||
thisObject.executionHistory = [];
|
||||
|
||||
if (process.env.INITIAL_BALANCE_ASSET_A === undefined || process.env.INITIAL_BALANCE_ASSET_B === undefined) { throw new Error("Environment Variables INITIAL_BALANCE_A and INITIAL_BALANCE_B cannot be undefined.") }
|
||||
if (global.INITIAL_BALANCE_ASSET_A === undefined || global.INITIAL_BALANCE_ASSET_B === undefined) { throw new Error("Global Variables INITIAL_BALANCE_A and INITIAL_BALANCE_B cannot be undefined.") }
|
||||
|
||||
const INITIAL_BALANCE_A = Number(process.env.INITIAL_BALANCE_ASSET_A);
|
||||
const INITIAL_BALANCE_B = Number(process.env.INITIAL_BALANCE_ASSET_B);
|
||||
const INITIAL_BALANCE_A = Number(global.INITIAL_BALANCE_ASSET_A);
|
||||
const INITIAL_BALANCE_B = Number(global.INITIAL_BALANCE_ASSET_B);
|
||||
|
||||
|
||||
thisObject.executionContext = {
|
||||
|
||||
Reference in new issue
Block a user