Skip to content

Commit aa413c3

Browse files
committed
f: use ENV.DASH_RPC_PROTOCOL for rpc url
1 parent af58cec commit aa413c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ var CJDemo = ('object' === typeof module && exports) || {};
610610
let evonodes = [];
611611
{
612612
//let resp = await rpc.masternodelist();
613-
let rpcBaseUrl = `${ENV.DASH_RPC_PROTOCOL}://${ENV.DASH_RPC_HOST}:${ENV.DASH_RPC_PORT}`;
613+
let rpcBaseUrl = `${ENV.DASHD_RPC_PROTOCOL}://${ENV.DASHD_RPC_HOST}:${ENV.DASHD_RPC_PORT}`;
614614
let res = await fetch(`${rpcBaseUrl}/rpc/masternodelist`);
615615
let resp = await res.json();
616616
let evonodesMap = resp.result;

0 commit comments

Comments
 (0)