updated sign_p2sh_stepbystep to mirror sign_p2sh