diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-26 23:41:00 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-26 23:41:00 +0800 |
commit | e5d294df327d817bbe66764fba596e77d2a66b7b (patch) | |
tree | d5a52d9c6cd5907dd92ce47d50c4ff1bfb6125e4 /dist/ethereum.js | |
parent | d0b6f3663b70c325eb0d1474c3c5df51e53c2cee (diff) | |
download | dexon-e5d294df327d817bbe66764fba596e77d2a66b7b.tar dexon-e5d294df327d817bbe66764fba596e77d2a66b7b.tar.gz dexon-e5d294df327d817bbe66764fba596e77d2a66b7b.tar.bz2 dexon-e5d294df327d817bbe66764fba596e77d2a66b7b.tar.lz dexon-e5d294df327d817bbe66764fba596e77d2a66b7b.tar.xz dexon-e5d294df327d817bbe66764fba596e77d2a66b7b.tar.zst dexon-e5d294df327d817bbe66764fba596e77d2a66b7b.zip |
return null instead of undefined, if not provider is set
Diffstat (limited to 'dist/ethereum.js')
-rw-r--r-- | dist/ethereum.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/ethereum.js b/dist/ethereum.js index c95d72ca3..5e15939dd 100644 --- a/dist/ethereum.js +++ b/dist/ethereum.js @@ -739,7 +739,7 @@ ProviderManager.prototype.send = function(data) { if (this.provider === undefined) { console.error('provider is not set'); - return undefined; + return null; } //TODO: handle error here? |