@@ -707,7 +707,7 @@ func (handler *Handler) handleReady(msg *pb.ChaincodeMessage, errc chan error) e
707
707
return nil
708
708
}
709
709
710
- return errors .Errorf ("[%s]Chaincode handler FSM cannot handle message (%s) with payload size (%d) while in state: %s" , msg .Txid , msg .Type , len (msg .Payload ), handler .state )
710
+ return errors .Errorf ("[%s]Chaincode handler cannot handle message (%s) with payload size (%d) while in state: %s" , msg .Txid , msg .Type , len (msg .Payload ), handler .state )
711
711
}
712
712
713
713
//handle established state
@@ -716,7 +716,7 @@ func (handler *Handler) handleEstablished(msg *pb.ChaincodeMessage, errc chan er
716
716
handler .state = "ready"
717
717
return nil
718
718
}
719
- return errors .Errorf ("[%s]Chaincode handler FSM cannot handle message (%s) with payload size (%d) while in state: %s" , msg .Txid , msg .Type , len (msg .Payload ), handler .state )
719
+ return errors .Errorf ("[%s]Chaincode handler cannot handle message (%s) with payload size (%d) while in state: %s" , msg .Txid , msg .Type , len (msg .Payload ), handler .state )
720
720
}
721
721
722
722
//handle created state
@@ -725,7 +725,7 @@ func (handler *Handler) handleCreated(msg *pb.ChaincodeMessage, errc chan error)
725
725
handler .state = "established"
726
726
return nil
727
727
}
728
- return errors .Errorf ("[%s]Chaincode handler FSM cannot handle message (%s) with payload size (%d) while in state: %s" , msg .Txid , msg .Type , len (msg .Payload ), handler .state )
728
+ return errors .Errorf ("[%s]Chaincode handler cannot handle message (%s) with payload size (%d) while in state: %s" , msg .Txid , msg .Type , len (msg .Payload ), handler .state )
729
729
}
730
730
731
731
// handleMessage message handles loop for shim side of chaincode/peer stream.
@@ -746,7 +746,7 @@ func (handler *Handler) handleMessage(msg *pb.ChaincodeMessage, errc chan error)
746
746
case "created" :
747
747
err = handler .handleCreated (msg , errc )
748
748
default :
749
- err = errors .Errorf ("[%s]Chaincode handler FSM cannot handle message (%s) with payload size (%d) while in state: %s" , msg .Txid , msg .Type , len (msg .Payload ), handler .state )
749
+ err = errors .Errorf ("[%s]Chaincode handler cannot handle message (%s) with payload size (%d) while in state: %s" , msg .Txid , msg .Type , len (msg .Payload ), handler .state )
750
750
}
751
751
752
752
if err != nil {
0 commit comments