Skip to content

Commit

Permalink
Fix warning: unused fields of signer and verifier.
Browse files Browse the repository at this point in the history
Signed-off-by: luckychess <[email protected]>
  • Loading branch information
luckychess authored and lebdron committed Dec 19, 2017
1 parent 65e10c0 commit 09ab1a7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ namespace shared_model {

Signed CryptoProvider::sign(const Blob &blob,
const Keypair &keypair) const {
return Signer().sign(blob, keypair);
return signer_.sign(blob, keypair);
}

bool CryptoProvider::verify(const Signed &signedData,
const Blob &orig,
const PublicKey &publicKey) const {
return Verifier().verify(signedData, orig, publicKey);
return verifier_.verify(signedData, orig, publicKey);
}

Seed CryptoProvider::generateSeed() const {
Expand Down

0 comments on commit 09ab1a7

Please sign in to comment.