Update waku/nwaku_test_utils.go

Co-authored-by: gabrielmer <101006718+gabrielmer@users.noreply.github.com>
This commit is contained in:
AYAHASSAN287 2025-03-06 15:03:19 +02:00 committed by GitHub
parent 5bde8e1b37
commit c155e64078
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -233,7 +233,7 @@ func (n *WakuNode) GetStoredMessages(storeNode *WakuNode, storeRequest *common.S
if len(storeMultiaddr) == 0 {
Error("Store node has no available listen addresses")
return nil, fmt.Errorf("store node has no available listen addresses")
return nil, errors.New("store node has no available listen addresses")
}
storeNodeAddrInfo, err := peer.AddrInfoFromString(storeMultiaddr[0].String())