Skip to content

Commit

Permalink
Merge pull request #10 from Virus-Axel/add_commitment_enum_hint
Browse files Browse the repository at this point in the history
Add commitment enum hint
  • Loading branch information
Virus-Axel authored Mar 25, 2023
2 parents 6e06021 + 6a678b4 commit b1c40fb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion addons/solana_client/scripts/request_handler.gd
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const MAX_GODOT_INT: int = 9223372036854775807


@export var unique_id: int = 0
@export var commitment: String = "finalized"
var commitment: String = "finalized"

@export var synchronous := true:
set(value):
Expand All @@ -36,6 +36,13 @@ func _get_property_list():
property_usage = PROPERTY_USAGE_DEFAULT

return [
{
"name": "commitment",
"type": TYPE_STRING,
"usage": PROPERTY_USAGE_DEFAULT,
"hint": PROPERTY_HINT_ENUM,
"hint_string": "processed,confirmed,finalized"
},
{
"name": "url",
"type": TYPE_STRING,
Expand Down

0 comments on commit b1c40fb

Please sign in to comment.