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
Lint
Lint Not Applicable
Unit
Tests Not Applicable