File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/pages/ibc/diy-protocol Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ pub fn ibc_channel_open(
131
131
// in this example, we only allow a single channel per contract instance
132
132
// you can do more complex checks here
133
133
ensure! (
134
- CHANNEL . access (& mut * deps . storage). get ()? . is_none (),
134
+ CHANNEL . access (& * deps . storage). get ()? . is_none (),
135
135
StdError :: generic_err (" channel already exists" )
136
136
);
137
137
@@ -373,7 +373,7 @@ pub fn ibc_channel_connect(
373
373
// in this example, we only allow a single channel per contract instance
374
374
// you can do more complex checks here
375
375
let mut channel_info = CHANNEL
376
- . access (& mut * deps . storage)
376
+ . access (& * deps . storage)
377
377
. get ()?
378
378
. ok_or_else (|| StdError :: generic_err (" channel not found" ))? ;
379
379
ensure! (
You can’t perform that action at this time.
0 commit comments