Skip to content

Commit

Permalink
Fix event contract id could be undefined now.
Browse files Browse the repository at this point in the history
  • Loading branch information
jiqiang90 committed Jan 19, 2024
1 parent c279bba commit f60068d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions packages/node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed
- update soraban client dependencies.(#41)

### Fixed
- Fixed soraban block could be behind network.(#41)
- Fix event contract id could be undefined

## [3.4.2] - 2023-11-30
### Fixed
- Sync with `node-core` 7.0.2
Expand Down
2 changes: 1 addition & 1 deletion packages/node/src/stellar/block.stellar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export class StellarBlockWrapped implements StellarBlockWrapper {

if (
filter.contractId &&
filter.contractId !== event.contractId.toString()
filter.contractId !== event.contractId?.toString()
) {
return false;
}
Expand Down

0 comments on commit f60068d

Please sign in to comment.