godprotocol 1.0.73 → 1.0.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Objects/Account.js +6 -1
- package/Objects/Virtual_machine.js +2 -0
- package/package.json +1 -1
package/Objects/Account.js
CHANGED
|
@@ -124,6 +124,11 @@ class Account extends Filesystem {
|
|
|
124
124
|
obj.servers = this.servers;
|
|
125
125
|
obj.name = this.name;
|
|
126
126
|
obj.data_tracks = this.data_tracks;
|
|
127
|
+
obj.hash = this.hash;
|
|
128
|
+
obj.chain = this.chain.stringify();
|
|
129
|
+
obj.physical_address = this.physical_address;
|
|
130
|
+
|
|
131
|
+
return obj;
|
|
127
132
|
};
|
|
128
133
|
|
|
129
134
|
distribute = (data) => {
|
|
@@ -162,7 +167,7 @@ class Account extends Filesystem {
|
|
|
162
167
|
let account = this.accounts[name] || this.manager.accounts[name];
|
|
163
168
|
|
|
164
169
|
if (!account) {
|
|
165
|
-
account = new Account(name, this);
|
|
170
|
+
account = new Account(name, this.manager);
|
|
166
171
|
this.accounts[account.name] = account;
|
|
167
172
|
this.manager.accounts[account.name] = account;
|
|
168
173
|
}
|