Before bliss
This commit is contained in:
@@ -96,6 +96,12 @@ export class HistoryService {
|
||||
private invitations: Invitation[],
|
||||
) {}
|
||||
|
||||
|
||||
/**
|
||||
* I Might swap this over to invitation based history before the event to make it a bit more evident... Really not happy with the UTXO for demo purposes
|
||||
* But for the actual usage, UTXO is easier to follow - just not good for demo
|
||||
* Long term, this is intended to be in the Engine, so we will just be a consumer of history state.
|
||||
*/
|
||||
async getHistory(): Promise<WalletHistoryItem[]> {
|
||||
const allUtxos = await this.engine.listUnspentOutputsData();
|
||||
const metadataIndex = await this.buildWalletMetadataIndex(allUtxos);
|
||||
|
||||
Reference in New Issue
Block a user