From 0f67f1e9de856404136dcdce78fc0ab93bab6a84 Mon Sep 17 00:00:00 2001
From: Felix Lange <fjl@twurst.com>
Date: Tue, 10 Mar 2015 14:55:00 +0100
Subject: [PATCH] xeth: fix signing transaction after unlock

---
 xeth/xeth.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xeth/xeth.go b/xeth/xeth.go
index f8b537321e..60262bf175 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -360,7 +360,7 @@ func (self *XEth) sign(tx *types.Transaction, from []byte, didUnlock bool) error
 			return fmt.Errorf("could not unlock sender account")
 		}
 		// retry signing, the account should now be unlocked.
-		self.sign(tx, from, true)
+		return self.sign(tx, from, true)
 	} else if err != nil {
 		return err
 	}