From 34639efaa7dde6bbbae3ced49331a9b875085888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matev=C5=BE=20Jekovec?= Date: Wed, 16 Oct 2024 11:54:10 +0200 Subject: [PATCH] cmd: Fix rofl build for Oasis Core 24.3 --- cmd/rofl/build.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/rofl/build.go b/cmd/rofl/build.go index cd151729..40eff464 100644 --- a/cmd/rofl/build.go +++ b/cmd/rofl/build.go @@ -200,9 +200,9 @@ var ( if b, err = os.ReadFile(src); err != nil { cobra.CheckErr(fmt.Errorf("failed to load asset '%s': %w", src, err)) } - _ = bnd.Add(dst, b) + _ = bnd.Add(dst, bundle.NewBytesData(b)) } - _ = bnd.Add(sigName, sigData) + _ = bnd.Add(sigName, bundle.NewBytesData(sigData)) // Write the bundle out. outFn := fmt.Sprintf("%s.orc", bnd.Manifest.Name)