Skip to content

Commit

Permalink
rename bip44_classifyCardanoWalletPath
Browse files Browse the repository at this point in the history
  • Loading branch information
janmazak committed Jul 23, 2021
1 parent d4ac686 commit e010c82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bip44.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ size_t bip44_printToStr(const bip44_path_t* pathSpec, char* out, size_t outSize)
return ptr - out;
}

static bip44_path_type_t bip44_classifyCardanoWalletPath(const bip44_path_t* pathSpec)
static bip44_path_type_t bip44_classifyWalletPath(const bip44_path_t* pathSpec)
{
const bool multiSig = bip44_hasMultisigPrefix(pathSpec);
switch (pathSpec->length) {
Expand Down Expand Up @@ -301,7 +301,7 @@ bip44_path_type_t bip44_classifyPath(const bip44_path_t* pathSpec)
}

if (bip44_hasValidCardanoWalletPrefix(pathSpec)) {
return bip44_classifyCardanoWalletPath(pathSpec);
return bip44_classifyWalletPath(pathSpec);
}

return PATH_INVALID;
Expand Down

0 comments on commit e010c82

Please sign in to comment.