There was an error while loading. Please reload this page.
1 parent 697f387 commit 8ed717dCopy full SHA for 8ed717d
ledger/byron/block_test.go
@@ -50,6 +50,8 @@ func TestByronBlock_CborRoundTrip_UsingCborEncode(t *testing.T) {
50
if err != nil {
51
t.Fatalf("Failed to unmarshal CBOR data into ByronBlock: %v", err)
52
}
53
+// Reset stored CBOR to nil
54
+block.SetCbor(nil)
55
56
// Re-encode using the cbor Encode function
57
encoded, err := cbor.Encode(block)
0 commit comments