mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-01 00:53:47 +00:00
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