diff --git a/cmd/celestia/rpc_test.go b/cmd/celestia/rpc_test.go index aab8fba131..9380a8b01e 100644 --- a/cmd/celestia/rpc_test.go +++ b/cmd/celestia/rpc_test.go @@ -17,11 +17,11 @@ func Test_parseNamespaceID(t *testing.T) { } testCases := []testCase{ { - name: "8 byte hex encoded namespace ID gets right padded", param: "0x0c204d39600fddd3", + name: "8 byte hex encoded namespace ID gets left padded", want: namespace.ID{ 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, - 0x0, 0x0, 0x0, 0x0, 0xc, 0x20, 0x4d, 0x39, 0x60, 0xf, 0xdd, 0xd3, 0x0, 0x0, + 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc, 0x20, 0x4d, 0x39, 0x60, 0xf, 0xdd, 0xd3, }, wantErr: false, },