Explorar o código

Merge pull request #2582 from obscuren/fix-sign-tx

eth: fixed regression in eth_signTransaction fixes #2578
Jeffrey Wilcke %!s(int64=9) %!d(string=hai) anos
pai
achega
e798e4fd75
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      eth/api.go

+ 1 - 1
eth/api.go

@@ -1353,7 +1353,7 @@ func (s *PublicTransactionPoolAPI) SignTransaction(args SignTransactionArgs) (*S
 		return nil, err
 	}
 
-	return &SignTransactionResult{"0x" + common.Bytes2Hex(data), newTx(tx)}, nil
+	return &SignTransactionResult{"0x" + common.Bytes2Hex(data), newTx(signedTx)}, nil
 }
 
 // PendingTransactions returns the transactions that are in the transaction pool and have a from address that is one of