Skip to content

fix: Check iotago.GetObject error#496

Merged
howjmay merged 1 commit into
developfrom
remove-inx
Feb 4, 2025
Merged

fix: Check iotago.GetObject error#496
howjmay merged 1 commit into
developfrom
remove-inx

Conversation

@howjmay
Copy link
Copy Markdown
Contributor

@howjmay howjmay commented Feb 2, 2025

No description provided.

@howjmay howjmay force-pushed the remove-inx branch 3 times, most recently from 775afdb to 87f98b8 Compare February 3, 2025 19:22
func (c *Client) GetObject(ctx context.Context, req GetObjectRequest) (*iotajsonrpc.IotaObjectResponse, error) {
var resp iotajsonrpc.IotaObjectResponse
return &resp, c.transport.Call(ctx, &resp, getObject, req.ObjectID, req.Options)
err := c.transport.Call(ctx, &resp, getObject, req.ObjectID, req.Options)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't the same fix be applied to all functions that return IotaObjectResponse? For example GetDynamicFieldObject, MultiGetObjects, etc.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all updated

@howjmay howjmay merged commit 0d61ad6 into develop Feb 4, 2025
@howjmay howjmay deleted the remove-inx branch February 4, 2025 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants