Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Remove unnecessary call to get_block_header_state #702

@jlamarr22

Description

@jlamarr22

Version of EOSJS
All versions

Describe the bug
generateTapos throws an error on transaction when calling get_block_header_state, but does not actually need to call it.

To Reproduce
Steps to reproduce the behavior:

  1. Spin up a new chain
  2. Generate a transaction
  3. Error in console when transact calls generateTapos

Expected behavior
Should not throw if calling generateTapos without a valid last_irreversible_block_num.

Additional context
Porting this over from #698
Co-Authored By: @UMU618 umu618@hotmail.com

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions