use Equal() of module.Address
@@ -182,7 +182,7 @@ func handleConsensusInfo(wc state.WorldContext) error {
// update P-rep status, vtotal, vfail, vfailcont
proposerExist := false
for _, p := range prepAddressList {
- if p == proposer {
+ if p.Equal(proposer) {
proposerExist = true
}
}
