mirror of
https://github.com/status-im/op-geth.git
synced 2025-02-10 13:56:50 +00:00
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…
x
Reference in New Issue
Block a user