File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change 28
28
#include < script/signingprovider.h>
29
29
#include < script/standard.h>
30
30
#include < uint256.h>
31
+ #include < util/bip32.h>
31
32
#include < util/moneystr.h>
32
33
#include < util/strencodings.h>
33
34
#include < util/string.h>
@@ -938,25 +939,6 @@ static UniValue testmempoolaccept(const JSONRPCRequest& request)
938
939
return result;
939
940
}
940
941
941
- static std::string WriteHDKeypath (std::vector<uint32_t >& keypath)
942
- {
943
- std::string keypath_str = " m" ;
944
- for (uint32_t num : keypath) {
945
- keypath_str += " /" ;
946
- bool hardened = false ;
947
- if (num & 0x80000000 ) {
948
- hardened = true ;
949
- num &= ~0x80000000 ;
950
- }
951
-
952
- keypath_str += ToString (num);
953
- if (hardened) {
954
- keypath_str += " '" ;
955
- }
956
- }
957
- return keypath_str;
958
- }
959
-
960
942
UniValue decodepsbt (const JSONRPCRequest& request)
961
943
{
962
944
RPCHelpMan{" decodepsbt" ,
You can’t perform that action at this time.
0 commit comments