diff --git a/libs/remix-debug/src/init.ts b/libs/remix-debug/src/init.ts index 74c3d08cbf..cc52c932dc 100644 --- a/libs/remix-debug/src/init.ts +++ b/libs/remix-debug/src/init.ts @@ -39,8 +39,8 @@ class Web3DebugPlugin extends Web3PluginBase { method: 'debug_preimage', params: [key] }) - .then(result => cb(null, result)) - .catch(error => cb(error)) + .then(result => cb(null, result)) + .catch(error => cb(error)) } public traceTransaction(txHash, options, cb) { @@ -48,8 +48,8 @@ class Web3DebugPlugin extends Web3PluginBase { method: 'debug_traceTransaction', params: [txHash, options] }) - .then(result => cb(null, result)) - .catch(error => cb(error)) + .then(result => cb(null, result)) + .catch(error => cb(error)) } public storageRangeAt(txBlockHash, txIndex, address, start, maxSize, cb) { @@ -57,7 +57,7 @@ class Web3DebugPlugin extends Web3PluginBase { method: 'debug_storageRangeAt', params: [txBlockHash, txIndex, address, start, maxSize] }) - .then(result => cb(null, result)) - .catch(error => cb(error)) + .then(result => cb(null, result)) + .catch(error => cb(error)) } }