aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-11-15 01:10:03 +0800
committerGitHub <noreply@github.com>2016-11-15 01:10:03 +0800
commit8dcea0ac0785c92df84d55b8322281e12189d8fb (patch)
tree18d9c033f86af4eda374261e4c0a165ac2c733c0 /common
parentd89ea3e6f90c32a97bad58b82a15af0d81f4250e (diff)
parentdfe79cc7845d94d14c2bc091c7eeac082f6b1e90 (diff)
downloaddexon-8dcea0ac0785c92df84d55b8322281e12189d8fb.tar
dexon-8dcea0ac0785c92df84d55b8322281e12189d8fb.tar.gz
dexon-8dcea0ac0785c92df84d55b8322281e12189d8fb.tar.bz2
dexon-8dcea0ac0785c92df84d55b8322281e12189d8fb.tar.lz
dexon-8dcea0ac0785c92df84d55b8322281e12189d8fb.tar.xz
dexon-8dcea0ac0785c92df84d55b8322281e12189d8fb.tar.zst
dexon-8dcea0ac0785c92df84d55b8322281e12189d8fb.zip
Merge pull request #2977 from karalabe/initial-mobile-suport
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
)