File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,11 @@ async function checkChainAAndBAreRunning() {
9191 debug ( "Send ping to B" ) ;
9292 await sdkB . rpc . node . ping ( ) ;
9393
94+ debug ( "Delete pending Txs in A" ) ;
95+ await sdkA . rpc . sendRpcRequest ( "mempool_deleteAllPendingTransactions" , [ ] ) ;
96+ debug ( "Delete pending Txs in B" ) ;
97+ await sdkB . rpc . sendRpcRequest ( "mempool_deleteAllPendingTransactions" , [ ] ) ;
98+
9499 await sendPayTx ( {
95100 sdk : sdkA ,
96101 from : "accqym7qmn5yj29cdl405xlmx6awd3f3yz07g7vq2c9" ,
@@ -121,7 +126,7 @@ async function sendPayTx({
121126 account : from ,
122127 passphrase : "" ,
123128 fee : 1000 ,
124- seq : 0
129+ seq : await sdk . rpc . chain . getSeq ( from )
125130 } ) ;
126131 debug ( `Send payTx to ${ chainName } ` ) ;
127132 const txhash = await sdk . rpc . chain . sendSignedTransaction ( signedPay ) ;
You can’t perform that action at this time.
0 commit comments