Skip to content

Argument of type 'BigIntLike' is not assignable... in Account.ts #3958

@geby9469

Description

@geby9469

Problem: bytesToBigInt possibly returns a type like BigIntLike. but the Account constructor expects strictly bigint.

figure1. Overall code.
Image

figure2. Account argument 'nonce' is bigint.
Image

figure. but parameter is type of BigIntLike.
Image

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions