aboutsummaryrefslogtreecommitdiffstats
path: root/chain/error.go
diff options
context:
space:
mode:
Diffstat (limited to 'chain/error.go')
-rw-r--r--chain/error.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/chain/error.go b/chain/error.go
index 71bda8e7b..540eda95a 100644
--- a/chain/error.go
+++ b/chain/error.go
@@ -123,6 +123,6 @@ func (self *TDError) Error() string {
return fmt.Sprintf("incoming chain has a lower or equal TD (%v <= %v)", self.a, self.b)
}
func IsTDError(e error) bool {
- _, ok := err.(*TDError)
+ _, ok := e.(*TDError)
return ok
}