Compatibility with latest haskoin library