aboutsummaryrefslogtreecommitdiffstats
path: root/utils/merkletrie/change.go
diff options
context:
space:
mode:
authorAlberto Cortés <alcortesm@gmail.com>2017-02-14 10:15:00 +0100
committerGitHub <noreply@github.com>2017-02-14 10:15:00 +0100
commit48fcea26a90a0e3afea13a23fa4e5e9f6a910f0b (patch)
treeec084319041020091112148fb8768f672b332690 /utils/merkletrie/change.go
parenta69e1cf378db9eb86fe384ced9a295b5eba7943e (diff)
downloadgo-git-48fcea26a90a0e3afea13a23fa4e5e9f6a910f0b.tar.gz
merkletrie: fix const action type fuck up (#268)
Action constants (Insert, Delete, Modify) have type int instead of Action. This patch make them Actions.
Diffstat (limited to 'utils/merkletrie/change.go')
-rw-r--r--utils/merkletrie/change.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/merkletrie/change.go b/utils/merkletrie/change.go
index cacf658..e6c99f6 100644
--- a/utils/merkletrie/change.go
+++ b/utils/merkletrie/change.go
@@ -13,7 +13,7 @@ type Action int
// The set of possible actions in a change.
const (
- _ = iota
+ _ Action = iota
Insert
Delete
Modify