Library now correctly rewinds, remove manual rewind from tests.

This commit is contained in:
Stefan Thomas
2013-02-26 11:01:27 +01:00
parent c570cca15e
commit 380523a462
2 changed files with 0 additions and 5 deletions

View File

@@ -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) {

View File

@@ -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();