feePayerSignTransaction not working with chainId defined in transaction object
Closed this issue · 0 comments
jimni1222 commented
Describe the bug
feePayerSignTransaction not working with chainId defined in transaction object
How to reproduce
const tx = Object.assign({}, txObj)
tx.chainId = 10000
const result1 = await caver.klay.accounts.feePayerSignTransaction(tx, feePayer.address, feePayer.feePayerKey[0])
tx.chainId = 20000
const result2 = await caver.klay.accounts.feePayerSignTransaction(tx, feePayer.address, feePayer.feePayerKey[0])
Expected behavior
FeePayerSignatures should be different
Attachments
If applicable, add data, logs or screenshots to help explain your problem.
Environment (please complete the following information)
- caver-js v1.3.1
- macOS/10.14
Additional context
Add any other context about the problem here.