Skip to content

Commit

Permalink
fix code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cicr99 committed Oct 5, 2023
1 parent 5fc2433 commit 9aa65eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rpc/types_block.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type BlockHashAndNumberOutput struct {
}

// BlockID is a struct that is used to choose between different
// search utils.
// search types.
type BlockID struct {
Number *uint64 `json:"block_number,omitempty"`
Hash *felt.Felt `json:"block_hash,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion rpc/types_transaction_receipt.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func unmarshalTransactionReceipt(t interface{}) (TransactionReceipt, error) {
switch casted := t.(type) {
case map[string]interface{}:
// NOTE(tvanas): Pathfinder 0.3.3 does not return
// transaction receipt utils. We handle this by
// transaction receipt types. We handle this by
// naively marshalling into an invoke type. Once it
// is supported, this condition can be removed.
typ, ok := casted["type"]
Expand Down

0 comments on commit 9aa65eb

Please sign in to comment.