Skip to content

Commit bd81253

Browse files
authored
Fix ct charm link (needs tx) (#1428)
1 parent 6cd11cb commit bd81253

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/charm/src/manager.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,8 +1028,9 @@ export class CharmManager {
10281028
targetInputCell = targetInputCell.key(segment);
10291029
}
10301030

1031-
targetInputCell.key(targetKey).set(sourceResultCell);
1032-
1031+
const tx = this.runtime.edit();
1032+
targetInputCell.key(targetKey).withTx(tx).set(sourceResultCell);
1033+
await tx.commit();
10331034
await this.runtime.idle();
10341035
await this.synced();
10351036
}

0 commit comments

Comments
 (0)