diff --git a/src/common/wallet.c b/src/common/wallet.c index 2a83ef4c2..e238a2641 100644 --- a/src/common/wallet.c +++ b/src/common/wallet.c @@ -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) { diff --git a/src/common/wallet.h b/src/common/wallet.h index c43b57d03..6ff81920e 100644 --- a/src/common/wallet.h +++ b/src/common/wallet.h @@ -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