Public key in transaction must match *from* account.

This commit is contained in:
JoelKatz
2011-12-05 13:19:36 -08:00
parent 696c841ea3
commit c220e6bcfc

View File

@@ -194,7 +194,7 @@ Transaction::pointer Transaction::transactionFromSQL(const std::string& sql)
frID.SetHex(fromID);
tID.SetHex(toID);
CKey::pointer pubkey=theApp->getPubKeyCache().locate(tID);
CKey::pointer pubkey=theApp->getPubKeyCache().locate(frID);
if(!pubkey) return Transaction::pointer();
TransStatus st(INVALID);