reverted to working version of bitcoin-lib