File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
chains/tw_sui/src/modules Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 5
5
use serde:: Serialize ;
6
6
use serde_repr:: Serialize_repr ;
7
7
8
- /// Code snippets from:
9
- /// https://github.com/MystenLabs/sui/blob/a16c942b72c13f42846b3c543b6622af85a5f634/crates/shared-crypto/src/intent.rs
8
+ // Code snippets from:
9
+ // https://github.com/MystenLabs/sui/blob/a16c942b72c13f42846b3c543b6622af85a5f634/crates/shared-crypto/src/intent.rs
10
10
11
11
/// This enums specifies the intent scope.
12
12
#[ derive( Serialize_repr ) ]
Original file line number Diff line number Diff line change @@ -289,8 +289,6 @@ fn test_sign_direct() {
289
289
/// and `AuthInfo` will be generated from `SigningInput` parameters.
290
290
#[ test]
291
291
fn test_sign_direct_with_body_bytes ( ) {
292
- use tw_cosmos_sdk:: proto:: cosmos:: tx:: v1beta1 as tx_proto;
293
-
294
292
let coin = TestCoinContext :: default ( )
295
293
. with_public_key_type ( PublicKeyType :: Secp256k1 )
296
294
. with_hrp ( "cosmos" ) ;
@@ -302,7 +300,7 @@ fn test_sign_direct_with_body_bytes() {
302
300
// Do not specify the `AuthInfo` bytes.
303
301
auth_info_bytes : Cow :: default ( ) ,
304
302
} ;
305
- let mut input = Proto :: SigningInput {
303
+ let input = Proto :: SigningInput {
306
304
account_number : 1037 ,
307
305
chain_id : "gaia-13003" . into ( ) ,
308
306
fee : Some ( make_fee ( 200000 , make_amount ( "muon" , "200" ) ) ) ,
You can’t perform that action at this time.
0 commit comments