Fix example node.js client after breaking API change.

Fixes #426.
This commit is contained in:
Josh Rickmar 2016-04-27 13:11:29 -04:00
parent 2009ee0230
commit 1e8c735294

View file

@ -366,7 +366,7 @@ if (os.platform == 'win32') {
} }
var cert = fs.readFileSync(certPath); var cert = fs.readFileSync(certPath);
var creds = grpc.Credentials.createSsl(cert); var creds = grpc.credentials.createSsl(cert);
var client = new walletrpc.WalletService('localhost:18332', creds); var client = new walletrpc.WalletService('localhost:18332', creds);
var request = { var request = {