@@ -447,9 +447,10 @@ mod transaction {
447447 use super :: * ;
448448 use crate :: { cli:: TransactionV1BuilderError , Error :: TransactionBuild } ;
449449 use casper_types:: {
450- bytesrepr:: Bytes , system:: auction:: Reservation , PackageAddr , TransactionArgs ,
451- TransactionEntryPoint , TransactionInvocationTarget , TransactionRuntimeParams ,
452- TransactionTarget , TransferTarget ,
450+ bytesrepr:: Bytes ,
451+ system:: auction:: { DelegatorKind , Reservation } ,
452+ PackageAddr , TransactionArgs , TransactionEntryPoint , TransactionInvocationTarget ,
453+ TransactionRuntimeParams , TransactionTarget , TransferTarget ,
453454 } ;
454455 use once_cell:: sync:: Lazy ;
455456 use rand:: { thread_rng, Rng } ;
@@ -1092,7 +1093,7 @@ mod transaction {
10921093 let delegators = ( 0 ..rng. gen_range ( 1 ..10 ) )
10931094 . map ( |_| {
10941095 let secret_key = SecretKey :: generate_ed25519 ( ) . unwrap ( ) ;
1095- PublicKey :: from ( & secret_key)
1096+ DelegatorKind :: PublicKey ( PublicKey :: from ( & secret_key) )
10961097 } )
10971098 . collect ( ) ;
10981099
@@ -1448,7 +1449,7 @@ mod transaction {
14481449
14491450 let maybe_source = Some ( source_uref) ;
14501451
1451- let source_uref_cl = & CLValue :: from_t ( & source_uref) . unwrap ( ) ;
1452+ let source_uref_cl = & CLValue :: from_t ( source_uref) . unwrap ( ) ;
14521453 let target_uref_cl = & CLValue :: from_t ( target_uref) . unwrap ( ) ;
14531454
14541455 let transaction_string_params = TransactionStrParams {
0 commit comments