aboutsummaryrefslogtreecommitdiffstats
path: root/common/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'common/types.go')
-rw-r--r--common/types.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/types.go b/common/types.go
index d00884484..70b7e7aae 100644
--- a/common/types.go
+++ b/common/types.go
@@ -35,7 +35,10 @@ const (
var hashJsonLengthErr = errors.New("common: unmarshalJSON failed: hash must be exactly 32 bytes")
type (
- Hash [HashLength]byte
+ // Hash represents the 32 byte Keccak256 hash of arbitrary data.
+ Hash [HashLength]byte
+
+ // Address represents the 20 byte address of an Ethereum account.
Address [AddressLength]byte
)