diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-26 00:05:29 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-26 00:05:29 +0800 |
commit | 505f1fbcbbc00b3f4750b9e9a7c119f882c620bf (patch) | |
tree | 45b2a6845d6300b4aeea26e3f60b0d5c589fa97e /core/block_processor.go | |
parent | 65ea55bccd8afb94bed540c89e9ce77acbfa3b31 (diff) | |
download | go-tangerine-505f1fbcbbc00b3f4750b9e9a7c119f882c620bf.tar go-tangerine-505f1fbcbbc00b3f4750b9e9a7c119f882c620bf.tar.gz go-tangerine-505f1fbcbbc00b3f4750b9e9a7c119f882c620bf.tar.bz2 go-tangerine-505f1fbcbbc00b3f4750b9e9a7c119f882c620bf.tar.lz go-tangerine-505f1fbcbbc00b3f4750b9e9a7c119f882c620bf.tar.xz go-tangerine-505f1fbcbbc00b3f4750b9e9a7c119f882c620bf.tar.zst go-tangerine-505f1fbcbbc00b3f4750b9e9a7c119f882c620bf.zip |
added tx tests and fixed block tests
Diffstat (limited to 'core/block_processor.go')
-rw-r--r-- | core/block_processor.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/block_processor.go b/core/block_processor.go index dfac6e0cc..bc3274eb5 100644 --- a/core/block_processor.go +++ b/core/block_processor.go @@ -195,7 +195,7 @@ func (sm *BlockProcessor) processWithParent(block, parent *types.Block) (td *big return } - // The transactions Trie's root (R = (Tr [[H1, T1], [H2, T2], ... [Hn, Tn]])) + // The transactions Trie's root (R = (Tr [[i, RLP(T1)], [i, RLP(T2)], ... [n, RLP(Tn)]])) // can be used by light clients to make sure they've received the correct Txs txSha := types.DeriveSha(block.Transactions()) if txSha != header.TxHash { |