Skip to content

Commit 7a5c68f

Browse files
committed
doc: make godoc place CallType consts with the type
1 parent f33c339 commit 7a5c68f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/vm/contracts.libevm.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ type evmCallArgs struct {
5757
type CallType OpCode
5858

5959
const (
60-
Call = CallType(CALL)
61-
CallCode = CallType(CALLCODE)
62-
DelegateCall = CallType(DELEGATECALL)
63-
StaticCall = CallType(STATICCALL)
60+
Call CallType = CallType(CALL)
61+
CallCode CallType = CallType(CALLCODE)
62+
DelegateCall CallType = CallType(DELEGATECALL)
63+
StaticCall CallType = CallType(STATICCALL)
6464
)
6565

6666
func (t CallType) isValid() bool {

0 commit comments

Comments
 (0)