The tests work
This commit is contained in:
+2
-1
@@ -350,7 +350,8 @@ export class AppService extends EventEmitter<AppEventMap> {
|
||||
// console.error('Unreserving resources is not currently supported by the engine')
|
||||
for (const [invitationIdentifier, outputs] of byInvitation) {
|
||||
// Remove them directly from state
|
||||
this.state.archiveInvitation(invitationIdentifier);
|
||||
// TODO: Make this parallel. CBF doing it now, because it likely breaks things.
|
||||
await this.state.archiveInvitation(invitationIdentifier);
|
||||
|
||||
// await this.engine.unreserveResources(
|
||||
// outputs.map((o) => ({
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { binToHex, hexToBin, sha256 } from "@bitauth/libauth";
|
||||
import { compileCashAssemblyString, type Engine } from "@xo-cash/engine";
|
||||
import { type Engine } from "@xo-cash/engine";
|
||||
import { compileCashAssemblyString } from "@xo-cash/utils";
|
||||
import type { ScriptHashData, State, UnspentOutputData } from "@xo-cash/state";
|
||||
import type {
|
||||
XOInvitation,
|
||||
|
||||
@@ -34,7 +34,7 @@ import type { BlockchainService } from "./electrum.js";
|
||||
|
||||
import { EventEmitter } from "../utils/event-emitter.js";
|
||||
import { decodeExtendedJsonObject } from "../utils/ext-json.js";
|
||||
import { compileCashAssemblyString } from "@xo-cash/engine";
|
||||
import { compileCashAssemblyString } from "@xo-cash/utils";
|
||||
|
||||
import type { ResolvedInvitationData } from "../utils/resolve-invitation-data.js";
|
||||
import { resolveCommitReferences } from "../utils/resolve-invitation-data.js";
|
||||
|
||||
Reference in New Issue
Block a user