Skip to content

Commit

Permalink
fix: Allow empty EndorsingBankItemSequenceNumber in FRB mode (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hillrunner2008 authored Aug 28, 2024
1 parent c2f96b8 commit 58a88ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CheckDetailAddendumC.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func (cdAddendumC *CheckDetailAddendumC) fieldInclusion() error {
Value: cdAddendumC.BOFDEndorsementBusinessDate.String(),
Msg: msgFieldInclusion + ", did you use CheckDetailAddendumC()?"}
}
if cdAddendumC.EndorsingBankItemSequenceNumberField() == " " {
if !IsFRBCompatibilityModeEnabled() && cdAddendumC.EndorsingBankItemSequenceNumberField() == " " {
return &FieldError{FieldName: "EndorsingBankItemSequenceNumber",
Value: cdAddendumC.EndorsingBankItemSequenceNumber,
Msg: msgFieldInclusion + ", did you use CheckDetailAddendumC()?"}
Expand Down

0 comments on commit 58a88ce

Please sign in to comment.