We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5ef477 commit 73a3cceCopy full SHA for 73a3cce
src/js/ripple/transactionmanager.js
@@ -588,9 +588,9 @@ TransactionManager.prototype._request = function(tx) {
588
}
589
590
if (!tx._setLastLedger) {
591
- // Honor LastLedgerSequence set by user of API. If left unset by API, bump
592
- // LastLedgerSequence
593
- tx.tx_json.LastLedgerSequence = tx.submitIndex + this._lastLedgerOffset;
+ // Honor LastLedgerSequence set with tx.lastLedger()
+ tx.tx_json.LastLedgerSequence = tx.initialSubmitIndex
+ + this._lastLedgerOffset;
594
595
596
tx.lastLedgerSequence = tx.tx_json.LastLedgerSequence;
0 commit comments