aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rlp.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/rlp.go b/rlp.go
index 91ec50164..f5e630398 100644
--- a/rlp.go
+++ b/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)