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 {
|
switch deployment {
|
||||||
case chaincfg.DeploymentTestDummy:
|
case chaincfg.DeploymentTestDummy:
|
||||||
forkName = "dummy"
|
forkName = "dummy"
|
||||||
|
case chaincfg.DeploymentCSV:
|
||||||
|
forkName = "csv"
|
||||||
default:
|
default:
|
||||||
return nil, &btcjson.RPCError{
|
return nil, &btcjson.RPCError{
|
||||||
Code: btcjson.ErrRPCInternal.Code,
|
Code: btcjson.ErrRPCInternal.Code,
|
||||||
|
|
Loading…
Reference in a new issue