mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 19:45:53 +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);
|
frID.SetHex(fromID);
|
||||||
tID.SetHex(toID);
|
tID.SetHex(toID);
|
||||||
|
|
||||||
CKey::pointer pubkey=theApp->getPubKeyCache().locate(tID);
|
CKey::pointer pubkey=theApp->getPubKeyCache().locate(frID);
|
||||||
if(!pubkey) return Transaction::pointer();
|
if(!pubkey) return Transaction::pointer();
|
||||||
|
|
||||||
TransStatus st(INVALID);
|
TransStatus st(INVALID);
|
||||||
|
|||||||
Reference in New Issue
Block a user