rpcserver: add taproot deployment to getblockchaininfo
This commit is contained in:
parent
3eac153437
commit
8a62cf0ef5
1 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue