Commit f568299 1 parent 1559d85 commit f568299 Copy full SHA for f568299
File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -111,8 +111,7 @@ impl Into<SignerError> for GcpSignerError {
111
111
}
112
112
113
113
impl Signer for GcpSigner {
114
- #[ tokio:: main]
115
- async fn try_pubkey ( & self ) -> Result < Pubkey , SignerError > {
114
+ fn try_pubkey ( & self ) -> Result < Pubkey , SignerError > {
116
115
Ok ( self
117
116
. pubkey
118
117
. get ( )
@@ -228,11 +227,10 @@ mod test {
228
227
let signer = GcpSigner :: new ( client, KeySpecifier ( String :: from ( key_name) ) )
229
228
. await
230
229
. unwrap ( ) ;
231
- println ! ( "{:?}" , signer) ;
232
- // assert_eq!(
233
- // signer.pubkey(),
234
- // Pubkey::from_str_const("0*0+ep!;�Lm�}%vF��(,�E")
235
- // );
230
+ assert_eq ! (
231
+ signer. pubkey( ) ,
232
+ Pubkey :: from_str_const( "0*0+ep!;�Lm�}%vF��(,�E" )
233
+ ) ;
236
234
}
237
235
238
236
#[ test]
You can’t perform that action at this time.
0 commit comments