소스 검색

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

eth: fixed regression in eth_signTransaction fixes #2578
Jeffrey Wilcke 9 년 전
부모
커밋
e798e4fd75
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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