Skip to content

[Bug] AccountInfo fails on browser platforms #653

@netanel-utila

Description

@netanel-utila
new AccountInfo({
      address: data.address,
      publicKey: new Ed25519PublicKey(data.publicKey!)
});

Buffer is not defined

It comes from fromHexInput.

if (hexInput instanceof Buffer) return new Hex(new Uint8Array(hexInput));

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions