rpcserver: add csv case for getblockchaininfo
This commit is contained in:
parent
d767af1509
commit
7d0b8081dc
1 changed files with 2 additions and 0 deletions
|
@ -1179,6 +1179,8 @@ func handleGetBlockChainInfo(s *rpcServer, cmd interface{}, closeChan <-chan str
|
|||
switch deployment {
|
||||
case chaincfg.DeploymentTestDummy:
|
||||
forkName = "dummy"
|
||||
case chaincfg.DeploymentCSV:
|
||||
forkName = "csv"
|
||||
default:
|
||||
return nil, &btcjson.RPCError{
|
||||
Code: btcjson.ErrRPCInternal.Code,
|
||||
|
|
Loading…
Reference in a new issue