File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 22
33## Unreleased
44
5+ - fixed: Crash when running under NodeJS due to missing memletConfig
6+
57## 3.8.2 (2025-06-09)
68
79- changed: Remove NOWNodes blockbook connection for Firo.
Original file line number Diff line number Diff line change @@ -42,14 +42,20 @@ export function makeCurrencyPlugin(
4242 } )
4343
4444 if ( ! hasMemletBeenSet ) {
45- const { memletConfig } = nativeIo [
45+ const pluginConfig = nativeIo [
4646 'edge-currency-plugins'
4747 ] as EdgeCurrencyPluginNativeIo
4848
49+ const memletConfig = pluginConfig ?. memletConfig
50+
4951 if ( memletConfig != null ) {
50- hasMemletBeenSet = true
5152 setMemletConfig ( memletConfig )
53+ } else {
54+ setMemletConfig ( {
55+ maxMemoryUsage : 50 * 1024 * 1024 // 50MB
56+ } )
5257 }
58+ hasMemletBeenSet = true
5359 }
5460
5561 const instance : EdgeCurrencyPlugin = {
You can’t perform that action at this time.
0 commit comments