Skip to content

Commit 4b1a7d3

Browse files
committed
eth: fixed regression in eth_signTransaction fixes bnb-chain#2578
Sign transaction returned the unsigned transaction rather than the signed one.
1 parent c8a8ad9 commit 4b1a7d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎eth/api.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1353,7 +1353,7 @@ func (s *PublicTransactionPoolAPI) SignTransaction(args SignTransactionArgs) (*S
13531353
return nil, err
13541354
}
13551355

1356-
return &SignTransactionResult{"0x" + common.Bytes2Hex(data), newTx(tx)}, nil
1356+
return &SignTransactionResult{"0x" + common.Bytes2Hex(data), newTx(signedTx)}, nil
13571357
}
13581358

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

0 commit comments

Comments
 (0)