Skip to content

Commit

Permalink
fix contract action transformer missing descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
michavie committed Dec 18, 2024
1 parent bfd9852 commit fcca8d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Transformers/Actions/ContractActionTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static function fromArray(array $data): ContractAction
{
return new ContractAction(
label: $data['label'],
description: $data['description'],
description: $data['description'] ?? null,
address: Address::newFromBech32($data['address']),
func: $data['func'],
args: $data['args'],
Expand Down

0 comments on commit fcca8d7

Please sign in to comment.