Page MenuHomePhabricator

[ecash-herald] Handle error if getTokenInfoMap is provided with a non-tokenId txid
ClosedPublic

Authored by bytesofman on Jun 29 2023, 23:41.

Details

Summary

T2972

This console.assert ended up throwing an error if the result is such that txDetails.slpTxData is undefined.

Refactor to catch error if unable to get genesisInfo.

Test Plan

npm test
npm run sendMsgByBlock 798428 and msg sends, expected error msg is logged

Diff Detail

Repository
rABC Bitcoin ABC
Branch
herald-bug-fix
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24255
Build 48120: Build Diffecash-herald-tests
Build 48119: arc lint + arc unit