Fixes for RPC wallet_add and work toward more commands.

This commit is contained in:
Arthur Britto
2012-06-02 11:53:38 -07:00
parent f0e3383856
commit 583b0b9052
8 changed files with 57 additions and 9 deletions

View File

@@ -36,9 +36,9 @@ public:
return mLedgerEntry->getIFieldPresent(sfAuthorizedKey);
}
uint160 getAuthorizedKey()
NewcoinAddress getAuthorizedKey()
{
return mLedgerEntry->getIFieldH160(sfAuthorizedKey);
return mLedgerEntry->getIValueFieldAccount(sfAuthorizedKey);
}
const NewcoinAddress& getAccountID() const { return mAccountID; }