20 lines
222 B
Go
20 lines
222 B
Go
package api
|
|
|
|
const Net_JS = `
|
|
web3._extend({
|
|
property: 'net',
|
|
methods:
|
|
[
|
|
new web3._extend.Method({
|
|
name: 'addPeer',
|
|
call: 'net_addPeer',
|
|
params: 1,
|
|
inputFormatter: [null]
|
|
})
|
|
],
|
|
properties:
|
|
[
|
|
]
|
|
});
|
|
`
|