You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to explore a selected Bitcoin block I get the following error message:
TypeError: /usr/local/lib/node_modules/btc-rpc-explorer/views/includes/shared-mixins.pug:227 if (!coinbaseTx && Object.keys(txInputs).length < tx.vin.length) Cannot convert undefined or null to object
To reproduce:
Select "Browse blocks"
Click on a block number
Environment:
Bitcoin Core / Node Version v27.1.0
NodeJS Version v18.19.1
Browser: Firefox
Installation Method: "npm"
WCTwine
changed the title
Error (mixins.pug0
Error (mixins.pug) when trying to explore a block
Jul 20, 2024
Open /usr/local/lib/node_modules/btc-rpc-explorer/views/includes/shared-mixins.pug
Got to line 227
Replace line 227 code with: if (!coinbaseTx && txInputs && Object.keys(txInputs).length < tx.vin.length)
Save and restart btc-rpc-explorer
After doing this fix, I am able to browse and open blocks successfully
Describe the bug
A clear and concise description of what the bug is.
Environment (please complete the following information):
Configuration file content
Please include the content from the following files. BE SURE TO MODIFY YOUR CREDENTIALS BEFORE SUBMITTING!!!
$WORKING_DIR/.env
or~/.config/btc-rpc-explorer.env
)To Reproduce
Steps to reproduce the behavior:
Screenshots or Log Output
If applicable, add screenshots or log output to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: