Add handshakeMsg log
Some checks failed
Build and Push to Registry / build-and-push (push) Has been cancelled
Some checks failed
Build and Push to Registry / build-and-push (push) Has been cancelled
This commit is contained in:
parent
e4681f91e4
commit
e729e32b35
@ -1373,7 +1373,9 @@ export default class Services {
|
||||
try {
|
||||
const handshakeMsg: HandshakeMessage = JSON.parse(parsedMsg);
|
||||
this.updateRelay(url, handshakeMsg.sp_address);
|
||||
console.log('handshakeMsg:', handshakeMsg);
|
||||
this.currentBlockHeight = handshakeMsg.chain_tip;
|
||||
console.log('this.currentBlockHeight:', this.currentBlockHeight);
|
||||
if (this.membersList && Object.keys(this.membersList).length === 0) {
|
||||
// We start from an empty list, just copy it over
|
||||
this.membersList = handshakeMsg.peers_list;
|
||||
|
Loading…
x
Reference in New Issue
Block a user