浏览代码

web3ext: Remove old natspec Admin_JS stubs

This stops them from showing up on the javascript console.
Justin Clark-Casey 9 年之前
父节点
当前提交
9eb50a9624
共有 1 个文件被更改,包括 0 次插入15 次删除
  1. 0 15
      internal/web3ext/web3ext.go

+ 0 - 15
internal/web3ext/web3ext.go

@@ -110,21 +110,6 @@ web3._extend({
 			call: 'admin_registerUrl',
 			params: 3
 		}),
-		new web3._extend.Method({
-			name: 'startNatSpec',
-			call: 'admin_startNatSpec',
-			params: 0
-		}),
-		new web3._extend.Method({
-			name: 'stopNatSpec',
-			call: 'admin_stopNatSpec',
-			params: 0
-		}),
-		new web3._extend.Method({
-			name: 'getContractInfo',
-			call: 'admin_getContractInfo',
-			params: 1
-		}),
 		new web3._extend.Method({
 			name: 'httpGet',
 			call: 'admin_httpGet',