mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-22 20:44:56 +00:00
CreateSpamMsgTx fallback to "nobody"
This commit is contained in:
parent
2c48386b4e
commit
0678ae169b
@ -3530,6 +3530,8 @@ static bool CreateSpamMsgTx(CTransaction &txNew, std::vector<unsigned char> &sal
|
||||
if( pwalletMain->vchDefaultKey.IsValid() ) {
|
||||
keyID = pwalletMain->vchDefaultKey.GetID();
|
||||
strUsername = pwalletMain->mapKeyMetadata[keyID].username;
|
||||
} else {
|
||||
strUsername = "nobody";
|
||||
}
|
||||
}
|
||||
printf("CreateSpamMsgTx: keyId = %s\n", keyID.ToString().c_str() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user