rpc: Add missing StakeVersion to getblock verbose (#529)

This commit is contained in:
David Hill 2016-12-22 12:39:53 -05:00 committed by Alex Yocom-Piatt
parent 3e4ed1b49d
commit dcbb281d76

View File

@ -2130,6 +2130,7 @@ func handleGetBlock(s *rpcServer, cmd interface{},
Revocations: blockHeader.Revocations,
PoolSize: blockHeader.PoolSize,
Time: blockHeader.Timestamp.Unix(),
StakeVersion: blockHeader.StakeVersion,
Confirmations: uint64(1 + bestState.Height - height),
Height: height,
Size: int32(blk.MsgBlock().Header.Size),