fixed tx hash endianess bug