@sangaman/xud
Version:
Exchange Union Daemon
8 lines • 352 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
function isHandshakeState(obj) {
return obj && typeof obj.version === 'string' && typeof obj.nodePubKey === 'string' && Array.isArray(obj.addresses)
&& Array.isArray(obj.pairs);
}
exports.isHandshakeState = isHandshakeState;
//# sourceMappingURL=p2p.js.map