Fix to Bitcoin-related functionality in arithmetic.py (thanks to Github user fcicq)