Skip to content

Commit 64d3003

Browse files
committed
remove admin api by default
1 parent a0bf871 commit 64d3003

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

subnet/deployment-generator/src/gen_env.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ BOOTNODES=enode://cc566d1033f21c7eb0eb9f403bb651f3949b5f63b40683917\
2323
50a591723a5d@${config.ip_1}:20301
2424
NETWORK_ID=${config.network_id}
2525
SYNC_MODE=full
26-
RPC_API=admin,db,eth,debug,miner,net,shh,txpool,personal,web3,XDPoS
26+
RPC_API=db,eth,debug,miner,net,shh,txpool,personal,web3,XDPoS
2727
STATS_SERVICE_ADDRESS=${config.ip_1}:3000
2828
STATS_SECRET=${config.secret_string}
2929
PORT=${port}
@@ -50,7 +50,7 @@ BOOTNODES=enode://cc566d1033f21c7eb0eb9f403bb651f3949b5f63b40683917\
5050
50a591723a5d@${ip_record["bootnode"]}:20301
5151
NETWORK_ID=${config.network_id}
5252
SYNC_MODE=full
53-
RPC_API=admin,db,eth,debug,miner,net,shh,txpool,personal,web3,XDPoS
53+
RPC_API=db,eth,debug,miner,net,shh,txpool,personal,web3,XDPoS
5454
STATS_SERVICE_ADDRESS=${ip_record["stats"]}:3000
5555
STATS_SECRET=${config.secret_string}
5656
PORT=${port}

0 commit comments

Comments
 (0)