forked from forks/go-ethereum
RLP changes
This commit is contained in:
parent
e058f3bc0a
commit
dfb8e65ca7
1 changed files with 1 additions and 0 deletions
1
rlp.go
1
rlp.go
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue