Skip to content

Commit d01fc62

Browse files
lint
1 parent 8cfb9dc commit d01fc62

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/contract.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,15 @@ export async function newContractTransaction(
9292
return tx.build(seed, index);
9393
}
9494

95-
export async function updateContractTransaction(
95+
export function updateContractTransaction(
9696
archethic: Archethic,
9797
contractAddress: string,
9898
contract: Contract
99-
): Promise<TransactionBuilder> {
100-
return archethic.transaction.new().setType("transfer").addRecipient(contractAddress, "upgrade", contract);
99+
): ExtendedTransactionBuilder {
100+
return archethic.transaction
101+
.new()
102+
.setType("transfer")
103+
.addRecipient(contractAddress, "upgrade", contract);
101104
}
102105

103106
export class Contract {

0 commit comments

Comments
 (0)