Skip to content

Commit

Permalink
Update example_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha committed Dec 20, 2023
1 parent 841f416 commit 7dcc193
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mobile/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ func Example_poolExchangeDagBetweenClientBlox() {
if len(h1.Addrs()) > 0 {
// Convert the first multiaddr to a string
bloxAddrString = h1.Addrs()[0].String()
log.Infow("blox multiadddr is", "addr", bloxAddrString, "peerID", h1.ID().String())
} else {
log.Errorw("Error happened in h1.Addrs", "err", "No addresses in slice")
panic("No addresses in slice")
Expand Down

0 comments on commit 7dcc193

Please sign in to comment.