Skip to content

Commit

Permalink
fix: unable to createSource with JWKInterface wallet #376
Browse files Browse the repository at this point in the history
  • Loading branch information
ppedziwiatr committed Mar 23, 2023
1 parent dbe52e8 commit 34d2e61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/core/Warp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,10 @@ export class Warp {

async createSource(
sourceData: SourceData,
wallet: ArWallet | CustomSignature | BundlerSigner
wallet: ArWallet | CustomSignature | BundlerSigner,
disableBundling: boolean = false
): Promise<Transaction | DataItem> {
return await this.createContract.createSource(sourceData, wallet);
return await this.createContract.createSource(sourceData, wallet, disableBundling);
}

async saveSource(src: Transaction | DataItem, disableBundling?: boolean): Promise<string> {
Expand Down
2 changes: 1 addition & 1 deletion tools/contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ async function main() {
const rssUsedBefore = Math.round((process.memoryUsage().rss / 1024 / 1024) * 100) / 100;

const warp = WarpFactory
.forMainnet({...defaultCacheOptions, inMemory: true});
.forMainnet({...defaultCacheOptions, inMemory: true})

let wallet: JWKInterface = readJSON('./.secrets/33F0QHcb22W7LwWR1iRC8Az1ntZG09XQ03YWuw2ABqA.json');

Expand Down

0 comments on commit 34d2e61

Please sign in to comment.