Open pruflyos opened 6 years ago
The documentation says that you can call admin-api function ETHInterface_beacon() with just one parameter, to get the current state. However, this currently doesn't work as expected and always returns:
ETHInterface_beacon()
$ ./contrib/python/cexec 'ETHInterface_beacon(0)' {'txid': 'Z7KHE7SZ5R', 'error': 'invalid state'}
Setting the state doesn't work either:
$ ./contrib/python/cexec 'ETHInterface_beacon(0, 2)' {'txid': '1B7RXJEH3N', 'error': 'invalid state'}
Here's the respective config from cjdroute.conf:
"ETHInterface": [ { "bind": "all", "beacon": 2, "connectTo": {} } ]
The documentation says that you can call admin-api function
ETHInterface_beacon()
with just one parameter, to get the current state. However, this currently doesn't work as expected and always returns:Setting the state doesn't work either: