@@ -20,11 +20,11 @@ use sawtooth_sdk::processor::handler::ApplyError;
2020use sawtooth_sdk:: processor:: handler:: TransactionContext ;
2121use sawtooth_sdk:: processor:: handler:: TransactionHandler ;
2222
23- use transact :: families:: sabre:: handler:: SabreTransactionHandler ;
24- use transact :: handler :: ContextError ;
25- use transact:: handler:: TransactionHandler as TransactHandler ;
26- use transact :: protocol :: transaction :: Transaction ;
27- use transact:: protos :: transaction:: TransactionHeader ;
23+ use sawtooth :: families:: sabre:: handler:: SabreTransactionHandler ;
24+ use sawtooth :: protos :: transaction :: TransactionHeader ;
25+ use sawtooth :: transact:: handler:: ContextError ;
26+ use sawtooth :: transact :: handler :: TransactionHandler as TransactHandler ;
27+ use sawtooth :: transact:: protocol :: transaction:: Transaction ;
2828
2929/// The namespace registry prefix for global state (00ec00)
3030const NAMESPACE_REGISTRY_PREFIX : & str = "00ec00" ;
@@ -39,7 +39,7 @@ struct SabreContext<'a> {
3939 sawtooth_context : & ' a dyn TransactionContext ,
4040}
4141
42- impl < ' a > transact:: handler:: TransactionContext for SabreContext < ' a > {
42+ impl < ' a > sawtooth :: transact:: handler:: TransactionContext for SabreContext < ' a > {
4343 fn get_state_entry ( & self , address : & str ) -> Result < Option < Vec < u8 > > , ContextError > {
4444 let results = self
4545 . sawtooth_context
@@ -162,10 +162,10 @@ impl TransactionHandler for SabreHandler {
162162 . apply ( & txn_pair, & mut sabre_context)
163163 {
164164 Ok ( ( ) ) => Ok ( ( ) ) ,
165- Err ( transact:: handler:: ApplyError :: InvalidTransaction ( msg) ) => {
165+ Err ( sawtooth :: transact:: handler:: ApplyError :: InvalidTransaction ( msg) ) => {
166166 Err ( ApplyError :: InvalidTransaction ( msg) )
167167 }
168- Err ( transact:: handler:: ApplyError :: InternalError ( msg) ) => {
168+ Err ( sawtooth :: transact:: handler:: ApplyError :: InternalError ( msg) ) => {
169169 Err ( ApplyError :: InternalError ( msg) )
170170 }
171171 }
0 commit comments