mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#include "Wallet.h"
|
||||
#include "NewcoinAddress.h"
|
||||
#include "Convertion.h"
|
||||
#include "Application.h"
|
||||
#include "LedgerMaster.h"
|
||||
//#include "script.h"
|
||||
#include <string>
|
||||
#include <boost/foreach.hpp>
|
||||
using namespace std;
|
||||
@@ -55,8 +55,8 @@ void Wallet::transactionChanged(TransactionPtr trans)
|
||||
|
||||
BOOST_FOREACH(Account& account, mYourAccounts)
|
||||
{
|
||||
if( account.mAddress == NewcoinAddress::protobufToInternal(trans->from()) ||
|
||||
account.mAddress == NewcoinAddress::protobufToInternal(trans->dest()) )
|
||||
if( account.mAddress == protobufTo160(trans->from()) ||
|
||||
account.mAddress == protobufTo160(trans->dest()) )
|
||||
{
|
||||
Ledger::Account* ledgerAccount=theApp->getLedgerMaster().getAccount(account.mAddress);
|
||||
if(ledgerAccount)
|
||||
|
||||
Reference in New Issue
Block a user