# MutantHub mutant #586: Constant replacement mutation at descriptor.cpp:350
# Repository: bitcoin/bitcoin @ 1aafd49077041e874d6b5f114927bc37e5b85d71
# File: src/script/descriptor.cpp:350-350
# Review: APPROVED; outcome: KILLED
--- a/src/script/descriptor.cpp
+++ b/src/script/descriptor.cpp
@@ -350,1 +350,1 @@
-    std::string ToString(StringType type) const override { return m_xonly ? HexStr(m_pubkey).substr(2) : HexStr(m_pubkey); }
+    std::string ToString(StringType type) const override { return m_xonly ? HexStr(m_pubkey).substr(2 - 1) : HexStr(m_pubkey); }
