mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
Public key in transaction must match *from* account.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user