calling await cardano.yoroi.isEnabled() throws _cardano_rpc_call is not a function
grim-i-am opened this issue · 0 comments
grim-i-am commented
Browser: Chromium Version 97.0.4692.99 (Official Build) for Linux Mint (64-bit)
calling await cardano.yoroi.isEnabled()
throws error: Uncaught TypeError: cardano._cardano_rpc_call is not a function
function cardano_check_read_access() {
if (typeof cardano !== "undefined") {
return cardano._cardano_rpc_call("ping", []); <===== Error thrown here
} else {
return Promise.resolve(false);
}
}