wow i never tough about it before...
That depends on the war.
If the war threatens the integrity of the Internet then the value of cryptocurrencies will plummet. Think of North Korea threatening the US with an EMP device or the Russians cutting the undersea cables - they have been snooping around them with their submarines. In that case you'd be way better off with gold.
If the war just gets expensive and threatens the financial system then the value of cryptocurrencies should rise. You'd be ok with gold then too.
i tough before cryptocurrency is good investment during war
but now after i read your coments now i know i'm wrong
bitcoin and other crypto during war is not a safe heaven but maybe it price will collapse, especially if the war happen on the country that use crypto such as japan or south korea or USA
i'll think about diversification now