edge-core-js 2.43.4 → 2.43.5
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.
|
@@ -132,7 +132,7 @@ export const makeMemoryWalletInner = async (
|
|
|
132
132
|
const doNetworkSync = async () => {
|
|
133
133
|
if (engine.syncNetwork != null) {
|
|
134
134
|
const delay = await engine.syncNetwork({
|
|
135
|
-
privateKeys: unsafeSyncNetwork ?
|
|
135
|
+
privateKeys: unsafeSyncNetwork ? privateKeys : undefined
|
|
136
136
|
})
|
|
137
137
|
syncNetworkTask.setDelay(delay)
|
|
138
138
|
} else {
|
package/lib/node/index.js
CHANGED
|
@@ -9715,9 +9715,7 @@ const makeMemoryWalletInner = async (ai, config, walletType, opts = {}) => {
|
|
|
9715
9715
|
const doNetworkSync = async () => {
|
|
9716
9716
|
if (engine.syncNetwork != null) {
|
|
9717
9717
|
const delay = await engine.syncNetwork({
|
|
9718
|
-
privateKeys: unsafeSyncNetwork ?
|
|
9719
|
-
privateKeys: keys
|
|
9720
|
-
} : undefined
|
|
9718
|
+
privateKeys: unsafeSyncNetwork ? privateKeys : undefined
|
|
9721
9719
|
});
|
|
9722
9720
|
syncNetworkTask.setDelay(delay);
|
|
9723
9721
|
} else {
|