aboutsummaryrefslogtreecommitdiffstats
path: root/core/error.go
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-03-04 01:41:51 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-03-05 03:27:09 +0800
commit871dfd399be8ee657109112d527645c2c1b3a8f9 (patch)
tree8daf0d07fdd308b55302dcbf11845657b97883e8 /core/error.go
parent15f491e5007d1507f20d0edce36cc9c0bd5cbd37 (diff)
downloaddexon-871dfd399be8ee657109112d527645c2c1b3a8f9.tar
dexon-871dfd399be8ee657109112d527645c2c1b3a8f9.tar.gz
dexon-871dfd399be8ee657109112d527645c2c1b3a8f9.tar.bz2
dexon-871dfd399be8ee657109112d527645c2c1b3a8f9.tar.lz
dexon-871dfd399be8ee657109112d527645c2c1b3a8f9.tar.xz
dexon-871dfd399be8ee657109112d527645c2c1b3a8f9.tar.zst
dexon-871dfd399be8ee657109112d527645c2c1b3a8f9.zip
Add initial implementation of block tests
* Add blocktest cmd and support for block tests files in tests/BlockTests , the launched node does not connect to network, resets state with a genesis block from the test file and starts the RPC API
Diffstat (limited to 'core/error.go')
-rw-r--r--core/error.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/error.go b/core/error.go
index fb1eaed84..514cd076b 100644
--- a/core/error.go
+++ b/core/error.go
@@ -22,7 +22,7 @@ func (err *ParentErr) Error() string {
}
func ParentError(hash []byte) error {
- return &ParentErr{Message: fmt.Sprintf("Block's parent unkown %x", hash)}
+ return &ParentErr{Message: fmt.Sprintf("Block's parent unknown %x", hash)}
}
func IsParentErr(err error) bool {