From 380523a4627e1e03b1acd2608bdf9ff559f5f788 Mon Sep 17 00:00:00 2001 From: Stefan Thomas Date: Tue, 26 Feb 2013 11:01:27 +0100 Subject: [PATCH] Library now correctly rewinds, remove manual rewind from tests. --- test/offer-test.js | 3 --- test/send-test.js | 2 -- 2 files changed, 5 deletions(-) diff --git a/test/offer-test.js b/test/offer-test.js index 0df8a6bdfb..dd7a62924a 100644 --- a/test/offer-test.js +++ b/test/offer-test.js @@ -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) { diff --git a/test/send-test.js b/test/send-test.js index b21cba3a38..7910ba4787 100644 --- a/test/send-test.js +++ b/test/send-test.js @@ -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();