decentralized-identity / decentralized-identity/sidetree-reference-impl
Should not log stack with value_time_lock_not_found if config is set to not use value time lock.
- Dominant language
- TypeScript
- Stars
- 4
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Currently the bitcoin service logs an non-critical event if value time lock is not configured as if something bad happened:
{ Error: {"code":"value_time_lock_not_found"}
at BitcoinProcessor.getActiveValueTimeLockForThisNode (/datadrive/ion/node_modules/@decentralized-identity/sidetree/dist/lib/bitcoin/BitcoinProcessor.js:250:19)
at Object. (/datadrive/ion/dist/src/bitcoin.js:105:106)
at Generator.next ()
at /datadrive/ion/dist/src/bitcoin.js:7:71
at new Promise ()
at __awaiter (/datadrive/ion/dist/src/bitcoin.js:3:12)
at requestHandler (/datadrive/ion/dist/src/bitcoin.js:105:34)
at /datadrive/ion/dist/src/bitcoin.js:25:40
at Generator.next ()
at /datadrive/ion/dist/src/bitcoin.js:7:71 responseCode: 'not-found', code: 'value_time_lock_not_found' }
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.