Skip to content

Commit 0f6e3e8

Browse files
committed
[release 1.4.5] eth: fixed regression in eth_signTransaction fixes #2578
Sign transaction returned the unsigned transaction rather than the signed one. (cherry picked from commit 4b1a7d3)
1 parent 7a7a5ac commit 0f6e3e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eth/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1408,7 +1408,7 @@ func (s *PublicTransactionPoolAPI) SignTransaction(args SignTransactionArgs) (*S
14081408
return nil, err
14091409
}
14101410

1411-
return &SignTransactionResult{"0x" + common.Bytes2Hex(data), newTx(tx)}, nil
1411+
return &SignTransactionResult{"0x" + common.Bytes2Hex(data), newTx(signedTx)}, nil
14121412
}
14131413

14141414
// PendingTransactions returns the transactions that are in the transaction pool and have a from address that is one of

0 commit comments

Comments
 (0)