Skip to content

Commit e91b35d

Browse files
committed
Use regular Option types for instruction data
COptions are only used for account data.
1 parent 081bac3 commit e91b35d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

p-token/idl.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -325,10 +325,10 @@
325325
"item": { "kind": "publicKeyTypeNode" },
326326
"prefix": {
327327
"kind": "numberTypeNode",
328-
"format": "u32",
328+
"format": "u8",
329329
"endian": "le"
330330
},
331-
"fixed": true
331+
"fixed": false
332332
},
333333
"defaultValue": {
334334
"kind": "noneValueNode"
@@ -776,10 +776,10 @@
776776
"item": { "kind": "publicKeyTypeNode" },
777777
"prefix": {
778778
"kind": "numberTypeNode",
779-
"format": "u32",
779+
"format": "u8",
780780
"endian": "le"
781781
},
782-
"fixed": true
782+
"fixed": false
783783
},
784784
"docs": ["The new authority"]
785785
}

0 commit comments

Comments
 (0)