Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tsachiherman committed Aug 21, 2024
1 parent 26073e7 commit 05e180d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ids/node_id.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var (
)

type NodeID struct {
ShortNodeID
ShortNodeID `serialize:"true"`
}

// ToNodeID attempt to convert a byte slice into a node id
Expand Down
4 changes: 2 additions & 2 deletions vms/platformvm/api/static_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,9 @@ func TestUTXOCompare(t *testing.T) {
smallerAddr = ids.ShortID{}
largerAddr = ids.ShortID{1}
)
smallerAddrStr, err := address.FormatBech32("avax", smallerAddr[:])
smallerAddrStr, err := address.FormatBech32("avax", smallerAddr.Bytes())
require.NoError(t, err)
largerAddrStr, err := address.FormatBech32("avax", largerAddr[:])
largerAddrStr, err := address.FormatBech32("avax", largerAddr.Bytes())
require.NoError(t, err)

type test struct {
Expand Down

0 comments on commit 05e180d

Please sign in to comment.