Skip to content

Commit

Permalink
feat: add chain_root to block serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
shaojunda committed Sep 18, 2019
1 parent f4ad418 commit ef3227d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/serializers/block_serializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class BlockSerializer
attributes :block_hash, :number, :proposals_count, :uncles_count, :uncle_block_hashes, :reward,
:total_transaction_fee, :cell_consumed, :total_cell_capacity, :miner_hash, :timestamp,
:difficulty, :version, :epoch, :start_number, :length, :transactions_root, :witnesses_root, :reward_status,
:received_tx_fee, :received_tx_fee_status, :nonce
:received_tx_fee, :received_tx_fee_status, :nonce, :chain_root

attribute :transactions_count, &:ckb_transactions_count
end

0 comments on commit ef3227d

Please sign in to comment.