mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-04 21:15:47 +00:00
BN.toArray intentionally returns [0] rather than [] for length zero, which may make sense for BigNum data, but not for byte strings.
BN.toArray intentionally returns [0] rather than [] for length zero, which may make sense for BigNum data, but not for byte strings.