From 7805e5cea49314f3732cd450ce77e88e5c46eb91 Mon Sep 17 00:00:00 2001 From: gruve-p Date: Wed, 24 Jun 2020 03:19:50 +0200 Subject: [PATCH] Fix version byte for zpub (#1686) --- .../Altcoins/BTCPayNetworkProvider.Bitcoin.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BTCPayServer.Common/Altcoins/BTCPayNetworkProvider.Bitcoin.cs b/BTCPayServer.Common/Altcoins/BTCPayNetworkProvider.Bitcoin.cs index 489362f72..e4c27b234 100644 --- a/BTCPayServer.Common/Altcoins/BTCPayNetworkProvider.Bitcoin.cs +++ b/BTCPayServer.Common/Altcoins/BTCPayNetworkProvider.Bitcoin.cs @@ -31,13 +31,13 @@ namespace BTCPayServer { {0x0488b21eU, DerivationType.Legacy }, // xpub {0x049d7cb2U, DerivationType.SegwitP2SH }, // ypub - {0x4b24746U, DerivationType.Segwit }, //zpub + {0x04b24746U, DerivationType.Segwit }, //zpub } : new Dictionary() { - {0x043587cfU, DerivationType.Legacy}, - {0x044a5262U, DerivationType.SegwitP2SH}, - {0x045f1cf6U, DerivationType.Segwit} + {0x043587cfU, DerivationType.Legacy}, // tpub + {0x044a5262U, DerivationType.SegwitP2SH}, // upub + {0x045f1cf6U, DerivationType.Segwit} // vpub } }); }