aboutsummaryrefslogtreecommitdiffstats
path: root/pow/ezp
diff options
context:
space:
mode:
authorMatthew Wampler-Doty <matthew.wampler.doty@gmail.com>2015-02-28 04:59:33 +0800
committerMatthew Wampler-Doty <matthew.wampler.doty@gmail.com>2015-02-28 04:59:33 +0800
commit8653db6df0018d08212493e3a3df4677162bdd8f (patch)
tree579e7a57b675988b71f9da2f357453685861263e /pow/ezp
parent5912f0a849f64f8a4d7b681df8d101f3f4080e17 (diff)
downloaddexon-8653db6df0018d08212493e3a3df4677162bdd8f.tar
dexon-8653db6df0018d08212493e3a3df4677162bdd8f.tar.gz
dexon-8653db6df0018d08212493e3a3df4677162bdd8f.tar.bz2
dexon-8653db6df0018d08212493e3a3df4677162bdd8f.tar.lz
dexon-8653db6df0018d08212493e3a3df4677162bdd8f.tar.xz
dexon-8653db6df0018d08212493e3a3df4677162bdd8f.tar.zst
dexon-8653db6df0018d08212493e3a3df4677162bdd8f.zip
Introducign MixDigest and SeedHash
Diffstat (limited to 'pow/ezp')
-rw-r--r--pow/ezp/pow.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pow/ezp/pow.go b/pow/ezp/pow.go
index 540381243..8808d7ce0 100644
--- a/pow/ezp/pow.go
+++ b/pow/ezp/pow.go
@@ -96,5 +96,5 @@ func verify(hash []byte, diff *big.Int, nonce []byte) bool {
}
func Verify(block pow.Block) bool {
- return verify(block.HashNoNonce(), block.Difficulty(), block.N())
+ return verify(block.HashNoNonce(), block.Difficulty(), block.Nonce())
}