mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Make these pieces work together.
This commit is contained in:
@@ -48,7 +48,7 @@ bool Transaction::sign(LocalAccount& fromLocalAccount)
|
||||
{
|
||||
if( (mAmount==0) || (mSourceLedger==0) || (mAccountTo==0) )
|
||||
return false;
|
||||
if(mAccountFrom!=fromLocalAccount.mAddress)
|
||||
if(mAccountFrom!=fromLocalAccount.mAddress.GetHash160())
|
||||
return false;
|
||||
Serializer::pointer signBuf=getRaw(true);
|
||||
if(!signBuf->makeSignature(mSignature, fromLocalAccount.peekPrivKey()))
|
||||
|
||||
Reference in New Issue
Block a user