diff --git a/test/scenarioTest/accountKeyMultiSig.js b/test/scenarioTest/accountKeyMultiSig.js index dfe35c45..8dbf0d98 100644 --- a/test/scenarioTest/accountKeyMultiSig.js +++ b/test/scenarioTest/accountKeyMultiSig.js @@ -598,7 +598,7 @@ describe('Scenario test with AccountWithAccountKeyMultiSig', () => { const expectedError = 'invalid transaction v, r, s values of the sender' try { - await caver.klay.sendSignedTransaction(feePayerSigned) + await caver.klay.sendSignedTransaction(senderSigned) } catch (e) { expect(e.message).to.include(expectedError) } }).timeout(200000) }) diff --git a/test/scenarioTest/accountKeyRoleBased.js b/test/scenarioTest/accountKeyRoleBased.js index 18231c0d..70c02a89 100644 --- a/test/scenarioTest/accountKeyRoleBased.js +++ b/test/scenarioTest/accountKeyRoleBased.js @@ -610,14 +610,14 @@ describe('Scenario test with AccountWithAccountKeyRoleBased', () => { let expectedError = 'invalid transaction v, r, s values of the sender' try { - await caver.klay.sendSignedTransaction(feePayerSigned) + await caver.klay.sendSignedTransaction(senderSigned) } catch (e) { expect(e.message).to.include(expectedError) } // insufficient weight senderSigned = await caver.klay.accounts.signTransaction(txObject, account.transactionKey[0]) try { - await caver.klay.sendSignedTransaction(feePayerSigned) + await caver.klay.sendSignedTransaction(senderSigned) } catch (e) { expect(e.message).to.include(expectedError) } txObject = { @@ -630,14 +630,14 @@ describe('Scenario test with AccountWithAccountKeyRoleBased', () => { senderSigned = await caver.klay.accounts.signTransaction(txObject, account.transactionKey) try { - await caver.klay.sendSignedTransaction(feePayerSigned) + await caver.klay.sendSignedTransaction(senderSigned) } catch (e) { expect(e.message).to.include(expectedError) } // insufficient weight senderSigned = await caver.klay.accounts.signTransaction(txObject, account.updateKey[0]) try { - await caver.klay.sendSignedTransaction(feePayerSigned) + await caver.klay.sendSignedTransaction(senderSigned) } catch (e) { expect(e.message).to.include(expectedError) } txObject = {