diff --git a/src/xrpld/app/wasm/detail/WasmVM.cpp b/src/xrpld/app/wasm/detail/WasmVM.cpp index a23a2f8972..7a3e270c20 100644 --- a/src/xrpld/app/wasm/detail/WasmVM.cpp +++ b/src/xrpld/app/wasm/detail/WasmVM.cpp @@ -92,12 +92,12 @@ setCommonHostFunctions(HostFunctions* hfs, ImportVec& i) ImportVec createWasmImport(HostFunctions& hfs) { - ImportVec import; + ImportVec i; - setCommonHostFunctions(&hfs, import); - WASM_IMPORT_FUNC2(import, updateData, "update_data", &hfs, 1000); + setCommonHostFunctions(&hfs, i); + WASM_IMPORT_FUNC2(i, updateData, "update_data", &hfs, 1000); - return import; + return i; } Expected