Remove extraneous stuff

This commit is contained in:
wltsmrz
2013-11-26 12:39:14 -08:00
parent 97df7472f5
commit 19c0585ff0

View File

@@ -78,12 +78,8 @@ function Account(remote, account) {
transaction.mmeta.each(function(an) {
var isAccount = an.fields.Account === self._account_id;
var isAccountRoot = isAccount && (an.entryType === 'AccountRoot');
if (isAccount) {
self.emit('');
}
var isAccountRoot = (an.entryType === 'AccountRoot') && an.fields.Account === self._account_id;
if (isAccountRoot) {
extend(self._entry, an.fieldsNew, an.fieldsFinal);
changed = true;