change:
public_key_x,public_key_y = public_key_u[1:66],public_key_u[66:130]
to
public_key_x,public_key_y = public_key_u[2:66],public_key_u[66:130]
Well that went badly
. Probably better than expected actually, I've been doing too much with signatures clearly
. Simple maths definitely isn't the strong point.