fix: reading owner of tx in strict mode (#306)
This commit is contained in:
@@ -28,7 +28,7 @@ import {
|
||||
} from './WarpPlugin';
|
||||
import { SortKeyCache } from '../cache/SortKeyCache';
|
||||
import { ContractDefinition, SrcCache } from './ContractDefinition';
|
||||
import { SignatureType } from '../contract/Signature';
|
||||
import { CustomSignature } from '../contract/Signature';
|
||||
import { SourceData } from '../contract/deploy/impl/SourceImpl';
|
||||
import Transaction from 'arweave/node/lib/transaction';
|
||||
|
||||
@@ -97,7 +97,7 @@ export class Warp {
|
||||
return await this.createContract.register(id, bundlrNode);
|
||||
}
|
||||
|
||||
async createSourceTx(sourceData: SourceData, wallet: ArWallet | SignatureType): Promise<Transaction> {
|
||||
async createSourceTx(sourceData: SourceData, wallet: ArWallet | CustomSignature): Promise<Transaction> {
|
||||
return await this.createContract.createSourceTx(sourceData, wallet);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user