From ddcad560f66af57dd0255ef8e18565e91ace9b9e Mon Sep 17 00:00:00 2001 From: Weixie Cui Date: Fri, 17 Apr 2026 21:39:27 +0800 Subject: [PATCH] accounts/abi: fix TestUnmarshal slice length fatal message --- accounts/abi/unpack_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts/abi/unpack_test.go b/accounts/abi/unpack_test.go index 90713c03ca..cf2ca7843f 100644 --- a/accounts/abi/unpack_test.go +++ b/accounts/abi/unpack_test.go @@ -801,7 +801,7 @@ func TestUnmarshal(t *testing.T) { } if len(outAddrStruct.B) != 2 { - t.Fatal("expected 1 item, got", len(outAddrStruct.B)) + t.Fatal("expected 2 item, got", len(outAddrStruct.B)) } if outAddrStruct.B[0] != (common.Address{2}) {