Fix
This commit is contained in:
parent
03ab7b44b6
commit
d7edbb2281
@ -6,7 +6,6 @@ class User {
|
|||||||
constructor(driver, obj) {
|
constructor(driver, obj) {
|
||||||
try {
|
try {
|
||||||
this.driver = driver;
|
this.driver = driver;
|
||||||
console.log(obj)
|
|
||||||
this.account = obj.account;
|
this.account = obj.account;
|
||||||
this.privateKey = obj.privateKey;
|
this.privateKey = obj.privateKey;
|
||||||
this.networkID = obj.networkID;
|
this.networkID = obj.networkID;
|
||||||
|
@ -8,7 +8,7 @@ class Utils {
|
|||||||
return {
|
return {
|
||||||
account: user.address,
|
account: user.address,
|
||||||
privateKey: user.privateKey,
|
privateKey: user.privateKey,
|
||||||
networkID: homeRPC.homeNetworkID
|
networkID: homeRPC.ID
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ class Utils {
|
|||||||
return {
|
return {
|
||||||
account: user.address,
|
account: user.address,
|
||||||
privateKey: user.privateKey,
|
privateKey: user.privateKey,
|
||||||
networkID: foreignRPC.foreignNetworkID
|
networkID: foreignRPC.ID
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user