3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-13 10:45:51 +00:00

DatabaseFullPrunedBlockStore, MySQLFullPrunedBlockStore: Fix spelling.

This commit is contained in:
Greg Laun 2016-07-18 17:37:47 -04:00
parent 82ae8088de
commit b3bb2c53c9
2 changed files with 4 additions and 4 deletions

View File

@ -255,7 +255,7 @@ public abstract class DatabaseFullPrunedBlockStore implements FullPrunedBlockSto
* Get the SQL to select the transaction outputs for a given address. * Get the SQL to select the transaction outputs for a given address.
* @return The SQL prepared statement. * @return The SQL prepared statement.
*/ */
protected String getTrasactionOutputSelectSQL() { protected String getTransactionOutputSelectSQL() {
return SELECT_TRANSACTION_OUTPUTS_SQL; return SELECT_TRANSACTION_OUTPUTS_SQL;
} }
@ -606,7 +606,7 @@ public abstract class DatabaseFullPrunedBlockStore implements FullPrunedBlockSto
this.verifiedChainHeadBlock = get(hash); this.verifiedChainHeadBlock = get(hash);
this.verifiedChainHeadHash = hash; this.verifiedChainHeadHash = hash;
if (this.verifiedChainHeadBlock == null) { if (this.verifiedChainHeadBlock == null) {
throw new BlockStoreException("corrupt databse block store - verified head block not found"); throw new BlockStoreException("corrupt database block store - verified head block not found");
} }
} }
@ -1161,7 +1161,7 @@ public abstract class DatabaseFullPrunedBlockStore implements FullPrunedBlockSto
List<UTXO> outputs = new ArrayList<UTXO>(); List<UTXO> outputs = new ArrayList<UTXO>();
try { try {
maybeConnect(); maybeConnect();
s = conn.get().prepareStatement(getTrasactionOutputSelectSQL()); s = conn.get().prepareStatement(getTransactionOutputSelectSQL());
for (Address address : addresses) { for (Address address : addresses) {
s.setString(1, address.toString()); s.setString(1, address.toString());
ResultSet rs = s.executeQuery(); ResultSet rs = s.executeQuery();

View File

@ -119,7 +119,7 @@ public class MySQLFullPrunedBlockStore extends DatabaseFullPrunedBlockStore {
} }
@Override @Override
protected String getTrasactionOutputSelectSQL() { protected String getTransactionOutputSelectSQL() {
return SELECT_TRANSACTION_OUTPUTS_SQL; return SELECT_TRANSACTION_OUTPUTS_SQL;
} }