fix(style): indent

This commit is contained in:
snsd0805 2023-06-06 16:47:27 +08:00
parent bd40ab67d8
commit c231926431
Signed by: snsd0805
GPG Key ID: 569349933C77A854

View File

@ -4,8 +4,8 @@ import "@openzeppelin/contracts/utils/Counters.sol";
import "./SoulboundToken.sol"; import "./SoulboundToken.sol";
contract Bank { contract Bank {
using Counters for Counters.Counter; using Counters for Counters.Counter;
Counters.Counter private id_counter; Counters.Counter private id_counter;
struct Order { struct Order {
bool isFinished; bool isFinished;
@ -26,10 +26,10 @@ contract Bank {
owner = msg.sender; owner = msg.sender;
} }
modifier onlyBank { modifier onlyBank {
require(msg.sender == owner, "Only the owner can access this function."); require(msg.sender == owner, "Only the owner can access this function.");
_; _;
} }
modifier onlyClient { modifier onlyClient {
require(sbt_number[msg.sender] != 0, "You should call register() first."); require(sbt_number[msg.sender] != 0, "You should call register() first.");