mirror of
https://github.com/fluencelabs/examples
synced 2025-06-23 14:51:33 +00:00
update to marine, marine-test, bump versions
This commit is contained in:
@ -14,9 +14,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
use fluence::{fce, CallParameters};
|
||||
use::fluence;
|
||||
use crate::get_connection;
|
||||
use ::fluence;
|
||||
use fluence::{marine, CallParameters};
|
||||
|
||||
pub fn is_owner() -> bool {
|
||||
let meta = fluence::get_call_parameters();
|
||||
@ -26,7 +26,7 @@ pub fn is_owner() -> bool {
|
||||
caller == owner
|
||||
}
|
||||
|
||||
#[fce]
|
||||
#[marine]
|
||||
pub fn am_i_owner() -> bool {
|
||||
is_owner()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user