|
|
@ -146,7 +146,7 @@ public: |
|
|
|
|
|
|
|
|
|
|
|
K GetKey() { |
|
|
|
K GetKey() { |
|
|
|
K ret; |
|
|
|
K ret; |
|
|
|
ret.Decode(&vchData[0], &vchData[Size]); |
|
|
|
ret.Decode(&vchData[0]); |
|
|
|
return ret; |
|
|
|
return ret; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -154,6 +154,10 @@ public: |
|
|
|
SetKey(key); |
|
|
|
SetKey(key); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CBitcoinExtKeyBase(const std::string& strBase58c) { |
|
|
|
|
|
|
|
SetString(strBase58c.c_str(), Params().Base58Prefix(Type).size()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
CBitcoinExtKeyBase() {} |
|
|
|
CBitcoinExtKeyBase() {} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|