OSDN Git Service
(root)
/
bytom
/
shuttle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53918b0
)
delete commnets
author
Chengcheng Zhang
<943420582@qq.com>
Mon, 26 Aug 2019 12:17:27 +0000
(20:17 +0800)
committer
Chengcheng Zhang
<943420582@qq.com>
Mon, 26 Aug 2019 12:17:27 +0000
(20:17 +0800)
swap/contract.go
patch
|
blob
|
history
diff --git
a/swap/contract.go
b/swap/contract.go
index
197dcab
..
4f3028b
100644
(file)
--- a/
swap/contract.go
+++ b/
swap/contract.go
@@
-140,11
+140,6
@@
func CompileLockContract(assetRequested, seller, cancelKey string, amountRequest
return contract.Data
}
-// type BuildTransactionResponse struct {
-// Status string `json:"status"`
-// Data interface{} `json:"data"`
-// }
-
// BuildLockTransaction build locked contract transaction.
func BuildLockTransaction(accountIDLocked, assetIDLocked, contractControlProgram string, amountLocked, txFee uint64) []byte {
data := []byte(`{