aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-10 05:23:33 +0800
committerobscuren <geffobscura@gmail.com>2015-01-10 05:23:33 +0800
commit351516c57cb5872e849ffca643526da5801564f2 (patch)
tree2933ee28acdba612e1eaa41e1eadf9682bf23f0f
parent8c7b764d47ce55ba6abe437ae8232cc537c4e0d9 (diff)
downloadgo-tangerine-351516c57cb5872e849ffca643526da5801564f2.tar.gz
go-tangerine-351516c57cb5872e849ffca643526da5801564f2.tar.zst
go-tangerine-351516c57cb5872e849ffca643526da5801564f2.zip
Cast to string for hashable type
-rw-r--r--core/block_processor.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/block_processor.go b/core/block_processor.go
index 3ccf2d03c..a9f948a46 100644
--- a/core/block_processor.go
+++ b/core/block_processor.go
@@ -308,7 +308,7 @@ func (sm *BlockProcessor) AccumelateRewards(statedb *state.StateDB, block, paren
}
uncles.Add(string(uncle.Hash()))
- if !ancestors.Has(uncle.ParentHash) {
+ if !ancestors.Has(string(uncle.ParentHash)) {
return UncleError(fmt.Sprintf("Uncle's parent unknown (%x)", uncle.ParentHash[0:4]))
}
20ce190e365c474f165dca93c'>Ties in gnomedb2 and libgda2.Joe Marcus Clarke2002-06-121-0/+2 * Add libgnomedb, the backend library for GNOME DB 2.Joe Marcus Clarke2002-06-128-0/+205 * Add glade2 and GNOME DB 2 to the tree. These are still beta versions of theJoe Marcus Clarke2002-06-1232-849/+541 * Update to 1.10.Pete Fritchman2002-06-102-2/+2 * Update to 2.1Patrick Li2002-06-103-16/+15 * Add rdfdb 0.46, a lightweight RDF database.Pete Fritchman2002-06-0911-0/+192 * Add p5-DBIx-Table 0.04, class used to represent DBI database tables.Pete Fritchman2002-06-096-0/+41 * Update to 0.2002, let submitter be the maintainer.Anton Berezin2002-06-082-3/+3 * Update port to 0.0.16Chris D. Faulhaber2002-06-083-9/+9 * Reset maintainership to ports@. Thanks for your work on these, Jeremy!Pete Fritchman2002-06-041-1/+1 * - Update to metakit-2.4.7-37Dirk Meyer2002-06-023-16/+3 * - Update to metakit-2.4.6Dirk Meyer2002-06-024-7/+23 * When editing multiple PRs, make sure to clear the change message in between.Dag-Erling Smørgrav2002-06-012-14/+15 * - Update to 2.64Patrick Li2002-06-013-6/+5 * add py-rrdpipe 0.1Ying-Chieh Liao2002-06-015-0/+32 * Sadly reset maintainership to ports@FreeBSD.org. Sergey, thanks forPete Fritchman2002-05-3111-22/+22 * add p5-MLDBM-Sync 0.25Ying-Chieh Liao2002-05-30