mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
Make these pieces work together.
This commit is contained in:
16
Wallet.cpp
16
Wallet.cpp
@@ -1,11 +1,16 @@
|
||||
#include "Wallet.h"
|
||||
#include "NewcoinAddress.h"
|
||||
#include "Conversion.h"
|
||||
#include "Application.h"
|
||||
#include "LedgerMaster.h"
|
||||
#include <string>
|
||||
#include <boost/foreach.hpp>
|
||||
using namespace std;
|
||||
|
||||
LocalAccount::LocalAccount(bool)
|
||||
{
|
||||
mPrivateKey.MakeNewKey();
|
||||
mPublicKey.SetPubKey(mPrivateKey.GetPubKey());
|
||||
mAddress.SetPubKey(mPublicKey.GetPubKey());
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
||||
Wallet::Wallet()
|
||||
{
|
||||
@@ -170,3 +175,6 @@ bool Wallet::commitTransaction(TransactionPtr trans)
|
||||
}
|
||||
return(false);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user