fix: Add a btcd internal method