diff --git a/js/remote.js b/js/remote.js index 4f57c5c3a6..ff5532717e 100644 --- a/js/remote.js +++ b/js/remote.js @@ -703,7 +703,9 @@ Remote.prototype.account_seq_cache = function (account, current) { // Mark an account's root node as dirty. Remote.prototype.dirty_account_root = function (account) { - delete this.ledgers.current.account_root[UInt160.json_rewrite(account)]; + var account = UInt160.json_rewrite(account); + + delete this.ledgers.current.account_root[account]; }; // Return a request to get a ripple balance. diff --git a/test/offer-test.js b/test/offer-test.js index cb421fdefe..a1d8315505 100644 --- a/test/offer-test.js +++ b/test/offer-test.js @@ -15,7 +15,7 @@ buster.testRunner.timeout = 5000; var alpha; -buster.testCase("Work in progress", { +buster.testCase("Offer tests", { 'setUp' : function (done) { server.start("alpha",