Commit d5d9d60 1 parent 01f6e81 commit d5d9d60 Copy full SHA for d5d9d60
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -523,8 +523,8 @@ where
523
523
where
524
524
T : BorshDeserialize ,
525
525
{
526
- let maybe_bytes = Ctx :: read_post ( self , key)
527
- . wrap_err_with ( || format ! ( "couldn't read_post {}" , key) ) ?;
526
+ let maybe_bytes = Ctx :: read_bytes_post ( self , key)
527
+ . wrap_err_with ( || format ! ( "couldn't read_bytes_post {}" , key) ) ?;
528
528
Self :: deserialize_if_present ( maybe_bytes)
529
529
}
530
530
@@ -534,8 +534,8 @@ where
534
534
where
535
535
T : BorshDeserialize ,
536
536
{
537
- let maybe_bytes = Ctx :: read_pre ( self , key)
538
- . wrap_err_with ( || format ! ( "couldn't read_pre {}" , key) ) ?;
537
+ let maybe_bytes = Ctx :: read_bytes_pre ( self , key)
538
+ . wrap_err_with ( || format ! ( "couldn't read_bytes_pre {}" , key) ) ?;
539
539
Self :: deserialize_if_present ( maybe_bytes)
540
540
}
541
541
}
You can’t perform that action at this time.
0 commit comments