jwoertink / nacha

A Crystal shard for parsing and generating Nacha (ACH) files
MIT License
4 stars 0 forks source link

Total amounts are casting to the wrong Type #12

Closed jwoertink closed 1 year ago

jwoertink commented 1 year ago

These are casting to Int32 because the sum passes 0 as an initial value instead of 0i64.

https://github.com/jwoertink/nacha/blob/ff161c85406c63b2ee1788f2aeefe20a84d43f5d/src/nacha/file.cr#L20C43-L21