Remove unused transaction code.
Handle BIGNUM conversion failure