Skip to content

Commit 6bedca6

Browse files
author
Michael Yu
authored
Merge pull request #53 from me-rob/rwei/fix-output
2 parents ecd3c7b + 1c44d16 commit 6bedca6

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { Etching } from './src/etching';
44
import { RuneEtchingSpec } from './src/indexer';
55
import { u128, u32, u64, u8 } from './src/integer';
66
import { None, Option, Some } from './src/monads';
7-
import { Rune } from './src/rune';
87
import { RuneId } from './src/runeid';
98
import { Runestone, RunestoneTx } from './src/runestone';
109
import { SpacedRune } from './src/spacedrune';
@@ -19,7 +18,7 @@ export {
1918
RuneEtchingSpec,
2019
RuneLocation,
2120
RuneMintCount,
22-
RuneOutput,
21+
RuneSpentUtxoBalance,
2322
RuneUpdater,
2423
RuneUtxoBalance,
2524
RunestoneIndexer,
@@ -32,8 +31,8 @@ export { Network } from './src/network';
3231
export {
3332
BitcoinRpcClient,
3433
GetBlockParams,
35-
GetBlockhashParams,
3634
GetBlockReturn,
35+
GetBlockhashParams,
3736
GetRawTransactionParams,
3837
GetRawTransactionReturn,
3938
RpcResponse,

src/indexer/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export namespace RuneLocation {
104104
}
105105
}
106106

107-
export type SpentRuneUtxoBalance = RuneUtxoBalance & { mempoolTxid: string };
107+
export type RuneSpentUtxoBalance = RuneUtxoBalance & { mempoolTxid: string };
108108

109109
export type RuneUtxoBalance = {
110110
txid: string;
@@ -153,6 +153,6 @@ export type RuneBlockIndex = {
153153
etchings: RuneEtching[];
154154
mintCounts: RuneMintCount[];
155155
utxoBalances: RuneUtxoBalance[];
156-
spentBalances: SpentRuneUtxoBalance[];
156+
spentBalances: RuneSpentUtxoBalance[];
157157
burnedBalances: RuneBalance[];
158158
};

src/indexer/updater.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {
2222
RuneMintCount,
2323
RuneUtxoBalance,
2424
RunestoneStorage,
25-
SpentRuneUtxoBalance,
25+
RuneSpentUtxoBalance,
2626
} from './types';
2727

2828
function isScriptPubKeyHexOpReturn(scriptPubKeyHex: string) {
@@ -39,7 +39,7 @@ export class RuneUpdater implements RuneBlockIndex {
3939
block: BlockInfo;
4040
etchings: RuneEtching[] = [];
4141
utxoBalances: RuneUtxoBalance[] = [];
42-
spentBalances: SpentRuneUtxoBalance[] = [];
42+
spentBalances: RuneSpentUtxoBalance[] = [];
4343

4444
private _minimum: Rune;
4545
private _mintCountsByRuneLocation: Map<string, RuneMintCount> = new Map();

0 commit comments

Comments
 (0)