Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
8cbc6018
Commit
8cbc6018
authored
Dec 10, 2019
by
pengjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#627 fix linter error
parent
76a3f89a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
collateralize.go
plugin/dapp/collateralize/executor/collateralize.go
+4
-4
No files found.
plugin/dapp/collateralize/executor/collateralize.go
View file @
8cbc6018
...
...
@@ -115,12 +115,12 @@ func (c *Collateralize) deleteCollateralizeAddr(addr string, index int64) (kvs [
return
kvs
}
func
(
c
*
Collateralize
)
addCollateralizeRecordStatus
(
recordStatus
int32
,
collateralizeID
string
,
recordI
d
string
,
index
int64
)
(
kvs
[]
*
types
.
KeyValue
)
{
func
(
c
*
Collateralize
)
addCollateralizeRecordStatus
(
recordStatus
int32
,
collateralizeID
string
,
recordI
D
string
,
index
int64
)
(
kvs
[]
*
types
.
KeyValue
)
{
key
:=
calcCollateralizeRecordStatusKey
(
recordStatus
,
index
)
record
:=
&
pty
.
CollateralizeRecord
{
CollateralizeId
:
collateralizeID
,
RecordId
:
recordI
d
,
RecordId
:
recordI
D
,
Index
:
index
,
}
...
...
@@ -137,12 +137,12 @@ func (c *Collateralize) deleteCollateralizeRecordStatus(recordStatus int32, inde
return
kvs
}
func
(
c
*
Collateralize
)
addCollateralizeRecordAddr
(
recordAddr
string
,
collateralizeID
string
,
recordI
d
string
,
index
int64
)
(
kvs
[]
*
types
.
KeyValue
)
{
func
(
c
*
Collateralize
)
addCollateralizeRecordAddr
(
recordAddr
string
,
collateralizeID
string
,
recordI
D
string
,
index
int64
)
(
kvs
[]
*
types
.
KeyValue
)
{
key
:=
calcCollateralizeRecordAddrKey
(
recordAddr
,
index
)
record
:=
&
pty
.
CollateralizeRecord
{
CollateralizeId
:
collateralizeID
,
RecordId
:
recordI
d
,
RecordId
:
recordI
D
,
Index
:
index
,
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment