RLP changes
This commit is contained in:
parent
e058f3bc0a
commit
dfb8e65ca7
1
rlp.go
1
rlp.go
@ -40,6 +40,7 @@ func (attr *RlpDataAttribute) Length() int {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func (attr *RlpDataAttribute) AsUint() uint64 {
|
func (attr *RlpDataAttribute) AsUint() uint64 {
|
||||||
if value, ok := attr.dataAttrib.(uint8); ok {
|
if value, ok := attr.dataAttrib.(uint8); ok {
|
||||||
return uint64(value)
|
return uint64(value)
|
||||||
|
Loading…
Reference in New Issue
Block a user