try
This commit is contained in:
@@ -1202,14 +1202,13 @@ bool CWallet::UpdatedNoteData(const CWalletTx& wtxIn, CWalletTx& wtx)
|
|||||||
*/
|
*/
|
||||||
extern uint8_t NOTARY_PUBKEY33[33];
|
extern uint8_t NOTARY_PUBKEY33[33];
|
||||||
extern std::string NOTARY_ADDRESS;
|
extern std::string NOTARY_ADDRESS;
|
||||||
bool pubkey2addr(char *destaddr,uint8_t *pubkey33);
|
bool pubkey2addr(char destaddr,uint8_t *pubkey33);
|
||||||
|
|
||||||
bool CWallet::AddToWalletIfInvolvingMe(const CTransaction& tx, const CBlock* pblock, bool fUpdate)
|
bool CWallet::AddToWalletIfInvolvingMe(const CTransaction& tx, const CBlock* pblock, bool fUpdate)
|
||||||
{
|
{
|
||||||
static bool didNA;
|
static bool didNA;
|
||||||
if ( didNA == false && NOTARY_PUBKEY33[0] != 0 && NOTARY_ADDRESS.empty() ) {
|
if ( didNA == false && NOTARY_PUBKEY33[0] != 0 && NOTARY_ADDRESS.empty() ) {
|
||||||
char Raddress[18];
|
char Raddress[18];
|
||||||
fprintf(stderr, "test thing\n");
|
|
||||||
pubkey2addr((char *)Raddress,(uint8_t *)NOTARY_PUBKEY33);
|
pubkey2addr((char *)Raddress,(uint8_t *)NOTARY_PUBKEY33);
|
||||||
NOTARY_ADDRESS.assign(Raddress);
|
NOTARY_ADDRESS.assign(Raddress);
|
||||||
didNA == true;
|
didNA == true;
|
||||||
|
|||||||
Reference in New Issue
Block a user