aboutsummaryrefslogtreecommitdiffstats
path: root/ethutil/rlp.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-08 23:37:06 +0800
committerobscuren <geffobscura@gmail.com>2015-01-08 23:37:06 +0800
commitb25126a277da5253e4ce175dec5b68ccdf1b9b0f (patch)
treeea076157ad8304145228f2483ba3c955fa646120 /ethutil/rlp.go
parentdb4aaedcbdb409e17ea3de161e7b24a80ba0a58c (diff)
downloadgo-tangerine-b25126a277da5253e4ce175dec5b68ccdf1b9b0f.tar
go-tangerine-b25126a277da5253e4ce175dec5b68ccdf1b9b0f.tar.gz
go-tangerine-b25126a277da5253e4ce175dec5b68ccdf1b9b0f.tar.bz2
go-tangerine-b25126a277da5253e4ce175dec5b68ccdf1b9b0f.tar.lz
go-tangerine-b25126a277da5253e4ce175dec5b68ccdf1b9b0f.tar.xz
go-tangerine-b25126a277da5253e4ce175dec5b68ccdf1b9b0f.tar.zst
go-tangerine-b25126a277da5253e4ce175dec5b68ccdf1b9b0f.zip
Minor fixed and additions for block proc
* Path check length * Genesis include TD * Output TD on last block
Diffstat (limited to 'ethutil/rlp.go')
-rw-r--r--ethutil/rlp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethutil/rlp.go b/ethutil/rlp.go
index 1bc1a58a7..0cb0d611c 100644
--- a/ethutil/rlp.go
+++ b/ethutil/rlp.go
@@ -137,7 +137,7 @@ func Encode(object interface{}) []byte {
case byte:
buff.Write(Encode(big.NewInt(int64(t))))
case *big.Int:
- // Not sure how this is possible while we check for
+ // Not sure how this is possible while we check for nil
if t == nil {
buff.WriteByte(0xc0)
} else {