mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-28 06:55:50 +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
|
// Future sequence
|
||||||
function (m, callback) {
|
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()
|
self.remote.transaction()
|
||||||
.offer_cancel("root", m.tx_json.Sequence+2)
|
.offer_cancel("root", m.tx_json.Sequence+2)
|
||||||
.on('proposed', function (m) {
|
.on('proposed', function (m) {
|
||||||
|
|||||||
@@ -187,8 +187,6 @@ buster.testCase("Sending", {
|
|||||||
.on('proposed', function (m) {
|
.on('proposed', function (m) {
|
||||||
buster.assert.equals('temBAD_LIMIT', m.result);
|
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);
|
callback('temBAD_LIMIT' !== m.result);
|
||||||
})
|
})
|
||||||
.submit();
|
.submit();
|
||||||
|
|||||||
Reference in New Issue
Block a user