correct logger creation
This commit is contained in:
parent
6ec7a670bd
commit
86fa41a376
@ -21,7 +21,7 @@ type AdmiraltySetter struct {
|
||||
|
||||
func (s *AdmiraltySetter) InitializeAdmiralty(localPeerID string,remotePeerID string) error {
|
||||
|
||||
logger = logs.GetLogger()
|
||||
logger := logs.GetLogger()
|
||||
|
||||
data := oclib.NewRequest(oclib.LibDataEnum(oclib.PEER),"",localPeerID,nil,nil).LoadOne(remotePeerID)
|
||||
if data.Code != 200 {
|
||||
|
Loading…
Reference in New Issue
Block a user