From 9f868bbd75c3b43e83ac07372e4d4ad350274453 Mon Sep 17 00:00:00 2001 From: mitchmindtree Date: Mon, 18 Apr 2022 16:33:23 +1000 Subject: [PATCH] Fix incorrect paths in `sway-lib-std`'s `context` module Previously, these paths described a path from the root of the package, however they are actually local to the module. --- sway-lib-std/src/context.sw | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sway-lib-std/src/context.sw b/sway-lib-std/src/context.sw index f89a11179f5..b5da63fd6d3 100644 --- a/sway-lib-std/src/context.sw +++ b/sway-lib-std/src/context.sw @@ -4,8 +4,8 @@ dep context/call_frames; dep context/registers; use ::contract_id::ContractId; -use ::call_frames::*; -use ::registers::balance; +use call_frames::*; +use registers::balance; /// Get the balance of coin `asset_id` for the current contract. pub fn this_balance(asset_id: ContractId) -> u64 {