OSDN Git Service

correct init of client in readme
authorYongfeng LI <wliyongfeng@gmail.com>
Tue, 15 May 2018 08:39:35 +0000 (16:39 +0800)
committerYongfeng LI <wliyongfeng@gmail.com>
Tue, 15 May 2018 08:39:35 +0000 (16:39 +0800)
README.md

index 741a6dc..d1ad90e 100644 (file)
--- a/README.md
+++ b/README.md
@@ -6,8 +6,9 @@
 
 ```
 const bytom = require('bytom-sdk')
+const url = 'http://localhost:9888'
 
-const client = new bytom.Client()
+const client = new bytom.Client(url)
 ```
 
 ## Interaction with bytom