Skip to content

Commit f00482f

Browse files
committed
Review fixes
1 parent 11e42ee commit f00482f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

node/native/src/graphql/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ pub mod transaction;
4343
pub mod user_command;
4444
pub mod zkapp;
4545

46-
pub type PublicKey = String;
46+
/// Base58 encoded public key
47+
pub type GraphQLPublicKey = String;
4748

4849
#[derive(Debug, thiserror::Error)]
4950
pub enum Error {

node/native/src/graphql/snark.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use mina_p2p_messages::v2::{
66
};
77
use node::snark_pool::JobState;
88

9-
use super::{account::GraphQLAccount, Context, ConversionError, PublicKey};
9+
use super::{account::GraphQLAccount, Context, ConversionError, GraphQLPublicKey};
1010

1111
#[derive(GraphQLObject, Debug)]
1212
#[graphql(description = "A Mina block")]
@@ -151,7 +151,7 @@ impl TryFrom<TransactionSnarkStableV2> for GraphQLWorkDescription {
151151
}
152152

153153
pub(crate) struct GraphQLSnarkWorker {
154-
pub key: PublicKey,
154+
pub key: GraphQLPublicKey,
155155
pub account: Option<GraphQLAccount>,
156156
pub fee: String,
157157
}

0 commit comments

Comments
 (0)