[state]: watchers return a state
This commit is contained in:
@@ -16,7 +16,8 @@ export function ws2pWatcher(conf: Conf) {
|
||||
const keypair = new Key(keys.pub, keys.sec)
|
||||
const target = `${wserver.address} (${wserver.expectedPubkey.substr(0, 8)})`
|
||||
|
||||
await watcherLoop(
|
||||
return watcherLoop(
|
||||
`WS2P ${wserver.address}`,
|
||||
async () => {
|
||||
|
||||
const localAuth = new WS2PPubkeyLocalAuth(wserver.currency, keypair, "", async () => true)
|
||||
|
||||
Reference in New Issue
Block a user