Don't go via hex() when working with BNs
Merge pull request #759 from public/no-hex

Don't go via hex() when working with BNs