rpcserver: add csv case for getblockchaininfo

This commit is contained in:
Olaoluwa Osuntokun 2016-12-06 18:12:44 -08:00
parent d767af1509
commit 7d0b8081dc
No known key found for this signature in database
GPG key ID: 9CC5B105D03521A2

View file

@ -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,