From 7b0d430de8d40b8c96bb53cdf83e2e532a2404c8 Mon Sep 17 00:00:00 2001 From: alaningtrump Date: Mon, 31 Aug 2026 00:17:37 +0800 Subject: [PATCH] refactor: append EIP-712 signature bytes directly --- rocketpool/eip712/eip712.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocketpool/eip712/eip712.go b/rocketpool/eip712/eip712.go index 5fb166a10..3a855fa08 100644 --- a/rocketpool/eip712/eip712.go +++ b/rocketpool/eip712/eip712.go @@ -56,5 +56,5 @@ func (c *Components) UnmarshalText(text []byte) error { } func (c *Components) MarshalText() ([]byte, error) { - return []byte(fmt.Sprintf("0x%x%x%x", c.R, c.S, c.V)), nil + return fmt.Appendf(nil, "0x%x%x%x", c.R, c.S, c.V), nil }