Commit 47e40a2d authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

fix: dtl config parsing (#744)

* dtl: fix config parsing

* chore: add changeset
parent 9f1529c8
---
'@eth-optimism/data-transport-layer': patch
---
Update the config parsing so that it gives a better error message
......@@ -34,7 +34,7 @@ export const validators = {
}
},
isJsonRpcProvider: (val: any): boolean => {
return val.ready !== undefined
return val && val.ready !== undefined
},
isLevelUP: (val: any): boolean => {
// TODO: Fix?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment