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";
contract Bank {
using Counters for Counters.Counter;
Counters.Counter private id_counter;
using Counters for Counters.Counter;
Counters.Counter private id_counter;
struct Order {
bool isFinished;
@ -26,10 +26,10 @@ contract Bank {
owner = msg.sender;
}
modifier onlyBank {
require(msg.sender == owner, "Only the owner can access this function.");
_;
}
modifier onlyBank {
require(msg.sender == owner, "Only the owner can access this function.");
_;
}
modifier onlyClient {
require(sbt_number[msg.sender] != 0, "You should call register() first.");