Skip to content

Commit

Permalink
Nits from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
bigspider committed Nov 10, 2023
1 parent 84daf9b commit eaf496b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common/wallet.c
Original file line number Diff line number Diff line change
Expand Up @@ -1547,7 +1547,7 @@ static int parse_script(buffer_t *in_buf,
if (token != TOKEN_MULTI_A && token != TOKEN_SORTEDMULTI_A) {
return WITH_ERROR(
-1,
"multi and sortedmulti can only be used legacy or segwit scripts");
"multi and sortedmulti can only be used in legacy or segwit scripts");
}
} else { // legacy or segwit scripts
if (token != TOKEN_MULTI && token != TOKEN_SORTEDMULTI) {
Expand Down
2 changes: 1 addition & 1 deletion src/common/wallet.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
// maximum depth of a taproot tree that we support
// (here depth 1 means only the root of the taptree)
#ifdef TARGET_NANOS
#define MAX_TAPTREE_POLICY_DEPTH 5
#define MAX_TAPTREE_POLICY_DEPTH 4
#else
#define MAX_TAPTREE_POLICY_DEPTH 9
#endif
Expand Down

0 comments on commit eaf496b

Please sign in to comment.