File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
packages/neuron-wallet/src/services Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -160,13 +160,16 @@ class NodeService {
160160 const localNodeInfo = await new RpcService ( network . remote , network . type ) . localNodeInfo ( )
161161 const type : CKBNodeType = network . type === NetworkType . Light ? 'light' : 'full'
162162 const internalNodeVersion = this . getInternalNodeVersion ( type )
163+ logger . info ( 'CKB:\tinternalNodeVersion:' , internalNodeVersion )
163164 const neuronVersion = app . getVersion ( )
164165 if ( ! internalNodeVersion || ! localNodeInfo . version ) return
165- return {
166+ const result = {
166167 ckbIsCompatible : this . isCkbCompatibility ( neuronVersion , localNodeInfo . version , type ) ,
167168 withIndexer : await this . isStartWithIndexer ( ) ,
168169 shouldUpdate : this . verifyCKbNodeShouldUpdate ( internalNodeVersion , localNodeInfo . version ) ,
169170 }
171+ logger . info ( 'CKB:\texternal ckb node:' , JSON . stringify ( result , null , 2 ) )
172+ return result
170173 }
171174 }
172175
You can’t perform that action at this time.
0 commit comments