forked from TrueCloudLab/frostfs-node
[#14] Use lower case in first letter of contract methods
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
b6913394a2
commit
3d0064cb4c
3 changed files with 5 additions and 5 deletions
|
@ -26,7 +26,7 @@ type (
|
|||
|
||||
const (
|
||||
transferXMethod = "transferX"
|
||||
lockMethod = "Lock"
|
||||
lockMethod = "lock"
|
||||
)
|
||||
|
||||
// TransferBalanceX invokes transferX method.
|
||||
|
|
|
@ -28,8 +28,8 @@ const (
|
|||
// execution stage. Otherwise invocation will fail due to gas limit.
|
||||
extraFee = 5000_0000 // 0.5 Fixed8 gas
|
||||
|
||||
checkIsInnerRingMethod = "IsInnerRing"
|
||||
chequeMethod = "Cheque"
|
||||
checkIsInnerRingMethod = "isInnerRing"
|
||||
chequeMethod = "cheque"
|
||||
)
|
||||
|
||||
// IsInnerRing returns true if 'key' is presented in inner ring list.
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
getEpochMethod = "Epoch"
|
||||
setNewEpochMethod = "NewEpoch"
|
||||
getEpochMethod = "epoch"
|
||||
setNewEpochMethod = "newEpoch"
|
||||
)
|
||||
|
||||
// Epoch return epoch value from contract.
|
||||
|
|
Loading…
Reference in a new issue