lib/tapyrus/store/chain_entry.rb in tapyrus-0.1.0 vs lib/tapyrus/store/chain_entry.rb in tapyrus-0.2.0
- old
+ new
@@ -1,9 +1,10 @@
module Tapyrus
module Store
# wrap a block header object with extra data.
class ChainEntry
+ include Tapyrus::HexConverter
attr_reader :header
attr_reader :height
# @param [Tapyrus::BlockHeader] header a block header.