https://github.com/chainwayxyz/clementine/pull/1004/files#diff-b1e24ad02ef27c1b9736ba25327a2d0eb4b441bf1038059c15e00042e5f4fa53L371