aptos-labs/aptos-go-sdk

API Events returns a GUIDId instead of a GUID.

jmmcatee opened this issue · 0 comments

Guid *GUID // GUID is the unique identifier of the event, only present in V1 events

The event unmarshaler code expects the following:

"guid": {
    "id": {
        "account_address": "0x0",
	 "creation_number": "0
    }
},

The returned value however is just:

"guid": {
    "account_address": "0x0",
    "creation_number": "0"
},

This causes the returned Event to have a nil GUID field.