File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use fil_actors_runtime::{
8
8
ActorError , Array , AsActorError ,
9
9
} ;
10
10
use fvm_ipld_blockstore:: Blockstore ;
11
- use fvm_ipld_encoding:: DAG_CBOR ;
11
+ use fvm_ipld_encoding:: CBOR ;
12
12
use fvm_shared:: address:: Address ;
13
13
14
14
use fvm_ipld_encoding:: ipld_block:: IpldBlock ;
@@ -172,7 +172,7 @@ impl Actor {
172
172
extract_send_result ( rt. send_simple (
173
173
& extra. actor ,
174
174
extra. method ,
175
- Some ( IpldBlock { codec : DAG_CBOR , data : extra. data . to_vec ( ) } ) ,
175
+ Some ( IpldBlock { codec : CBOR , data : extra. data . to_vec ( ) } ) ,
176
176
TokenAmount :: zero ( ) ,
177
177
) )
178
178
. map_err ( |e| e. wrap ( "spend voucher verification failed" ) ) ?;
Original file line number Diff line number Diff line change @@ -669,7 +669,7 @@ mod merge_tests {
669
669
670
670
mod update_channel_state_extra {
671
671
use super :: * ;
672
- use fvm_ipld_encoding:: DAG_CBOR ;
672
+ use fvm_ipld_encoding:: CBOR ;
673
673
674
674
const OTHER_ADDR : u64 = 104 ;
675
675
@@ -691,7 +691,7 @@ mod update_channel_state_extra {
691
691
rt. expect_send_simple (
692
692
other_addr,
693
693
Method :: UpdateChannelState as u64 ,
694
- Some ( IpldBlock { codec : DAG_CBOR , data : fake_params. to_vec ( ) } ) ,
694
+ Some ( IpldBlock { codec : CBOR , data : fake_params. to_vec ( ) } ) ,
695
695
TokenAmount :: zero ( ) ,
696
696
None ,
697
697
exit_code,
You can’t perform that action at this time.
0 commit comments