From d069d16fc78fdbad0b22210d8b449ba0f9b322b9 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Wed, 17 Feb 2021 11:07:12 +0100 Subject: [PATCH] rpcserver: add taproot deployment to getblockchaininfo --- rpcserver.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rpcserver.go b/rpcserver.go index 2c9a5185..d1840729 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -1256,6 +1256,9 @@ func handleGetBlockChainInfo(s *rpcServer, cmd interface{}, closeChan <-chan str case chaincfg.DeploymentSegwit: forkName = "segwit" + case chaincfg.DeploymentTaproot: + forkName = "taproot" + default: return nil, &btcjson.RPCError{ Code: btcjson.ErrRPCInternal.Code,