Skip to content

Commit

Permalink
fix: edit error message
Browse files Browse the repository at this point in the history
Signed-off-by: osamamagdy <osamamagdy174@gmail.com>
  • Loading branch information
osamamagdy committed Oct 22, 2024
1 parent 934b941 commit e027bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecc_go/chaincode/enclave_go/shim.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func (f *FpcStubInterface) GetTxTimestamp() (*timestamp.Timestamp, error) {
hdr := &common.Header{}
proposal, Proposalerr := f.GetSignedProposal()
if Proposalerr != nil {
return nil, fmt.Errorf("Error retrieving the proposal from the FPC Stub")
return nil, fmt.Errorf("error retrieving the proposal from the FPC Stub")
}
if err := proto.Unmarshal(proposal.ProposalBytes, protoV1.MessageV2(hdr)); err != nil {
return nil, fmt.Errorf("error unmarshaling Header: %s", err)
Expand Down

0 comments on commit e027bcf

Please sign in to comment.