RLP changes

This commit is contained in:
obscuren 2014-01-12 01:51:07 +01:00
parent e058f3bc0a
commit dfb8e65ca7

1
rlp.go
View File

@ -40,6 +40,7 @@ func (attr *RlpDataAttribute) Length() int {
return 0
}
func (attr *RlpDataAttribute) AsUint() uint64 {
if value, ok := attr.dataAttrib.(uint8); ok {
return uint64(value)