Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
remove invalid sign payload parameter, add await on async method
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryanmtate committed Oct 7, 2021
1 parent 0e48b79 commit 8b3ce45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ethers-signers/src/ledger/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ impl Signer for LedgerEthereum {
.encode_eip712()
.map_err(|e| Self::Error::Eip712Error(e.to_string()))?;

Ok(self.sign_payload(INS::SIGN, hash.into(), false))
Ok(self.sign_payload(INS::SIGN, hash.into()).await)
}

/// Returns the signer's Ethereum Address
Expand Down

0 comments on commit 8b3ce45

Please sign in to comment.