Skip to content

Commit

Permalink
added some logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha committed Nov 16, 2023
1 parent 9cc2879 commit 58832e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blockchain/bl_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ func (bl *FxBlockchain) HandlePoolJoinRequest(ctx context.Context, from peer.ID,
}

// Handle the response as needed
log.Infow("Vote cast successfully", "response", voteResponse)
log.Infow("Vote cast successfully", "response", voteResponse, "on", from, "by", bl.h.ID())
// Update member status to unknown
bl.membersLock.Lock() // Lock before accessing the map
bl.members[from] = common.Unknown
Expand Down

0 comments on commit 58832e6

Please sign in to comment.