sendTransactionAsync should return txHash string
This commit is contained in:
		@@ -233,7 +233,7 @@ export class LedgerSubprovider extends Subprovider {
 | 
			
		||||
        this._ledgerClientIfExists = undefined;
 | 
			
		||||
        this._connectionLock.signal();
 | 
			
		||||
    }
 | 
			
		||||
    private async _sendTransactionAsync(txParams: PartialTxParams): Promise<Web3.JSONRPCResponsePayload> {
 | 
			
		||||
    private async _sendTransactionAsync(txParams: PartialTxParams): Promise<string> {
 | 
			
		||||
        await this._nonceLock.wait();
 | 
			
		||||
        try {
 | 
			
		||||
            // fill in the extras
 | 
			
		||||
@@ -247,7 +247,7 @@ export class LedgerSubprovider extends Subprovider {
 | 
			
		||||
            };
 | 
			
		||||
            const result = await this.emitPayloadAsync(payload);
 | 
			
		||||
            this._nonceLock.signal();
 | 
			
		||||
            return result;
 | 
			
		||||
            return result.result;
 | 
			
		||||
        } catch (err) {
 | 
			
		||||
            this._nonceLock.signal();
 | 
			
		||||
            throw err;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user