diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-22 04:12:07 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-22 04:12:07 +0800 |
commit | c9693b47467f16a6f35be6de85f57244b70d7a01 (patch) | |
tree | 0df54c99eb4a1529123f27be8bfe321cc1539cfa /lib/httpsync.js | |
parent | ceb4357a8d66e5112369293b15247f03c561c514 (diff) | |
download | dexon-c9693b47467f16a6f35be6de85f57244b70d7a01.tar dexon-c9693b47467f16a6f35be6de85f57244b70d7a01.tar.gz dexon-c9693b47467f16a6f35be6de85f57244b70d7a01.tar.bz2 dexon-c9693b47467f16a6f35be6de85f57244b70d7a01.tar.lz dexon-c9693b47467f16a6f35be6de85f57244b70d7a01.tar.xz dexon-c9693b47467f16a6f35be6de85f57244b70d7a01.tar.zst dexon-c9693b47467f16a6f35be6de85f57244b70d7a01.zip |
contract.html example is working with sync api
Diffstat (limited to 'lib/httpsync.js')
-rw-r--r-- | lib/httpsync.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/httpsync.js b/lib/httpsync.js index 20bdbd1a2..67a3988f9 100644 --- a/lib/httpsync.js +++ b/lib/httpsync.js @@ -23,7 +23,7 @@ var HttpSyncProvider = function (host) { this.handlers = []; - this.host = host; + this.host = host || 'http://localhost:8080'; }; /// Transforms inner message to proper jsonrpc object |