aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-09-06 00:07:57 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-11-14 23:56:58 +0800
commit178da7c6a94718389e7192d87df5ee42e7223bc3 (patch)
tree010f49656b5d1656cf24a4ff9bac35788dd9959f /common
parentd89ea3e6f90c32a97bad58b82a15af0d81f4250e (diff)
downloaddexon-178da7c6a94718389e7192d87df5ee42e7223bc3.tar
dexon-178da7c6a94718389e7192d87df5ee42e7223bc3.tar.gz
dexon-178da7c6a94718389e7192d87df5ee42e7223bc3.tar.bz2
dexon-178da7c6a94718389e7192d87df5ee42e7223bc3.tar.lz
dexon-178da7c6a94718389e7192d87df5ee42e7223bc3.tar.xz
dexon-178da7c6a94718389e7192d87df5ee42e7223bc3.tar.zst
dexon-178da7c6a94718389e7192d87df5ee42e7223bc3.zip
mobile: initial wrappers for mobile support
Diffstat (limited to 'common')
-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
)