Răsfoiți Sursa

xeth: fix signing transaction after unlock

Felix Lange 10 ani în urmă
părinte
comite
0f67f1e9de
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      xeth/xeth.go

+ 1 - 1
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
 	}