mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
Library now correctly rewinds, remove manual rewind from tests.
This commit is contained in:
@@ -725,9 +725,6 @@ buster.testCase("Offer tests", {
|
||||
},
|
||||
// Future sequence
|
||||
function (m, callback) {
|
||||
// After a malformed transaction, need to recover correct sequence.
|
||||
self.remote.set_account_seq("root", self.remote.account_seq("root")-1);
|
||||
|
||||
self.remote.transaction()
|
||||
.offer_cancel("root", m.tx_json.Sequence+2)
|
||||
.on('proposed', function (m) {
|
||||
|
||||
@@ -187,8 +187,6 @@ buster.testCase("Sending", {
|
||||
.on('proposed', function (m) {
|
||||
buster.assert.equals('temBAD_LIMIT', m.result);
|
||||
|
||||
// After a malformed transaction, need to recover correct sequence.
|
||||
self.remote.set_account_seq("alice", self.remote.account_seq("alice")-1);
|
||||
callback('temBAD_LIMIT' !== m.result);
|
||||
})
|
||||
.submit();
|
||||
|
||||
Reference in New Issue
Block a user