aboutsummaryrefslogtreecommitdiffstats
path: root/contracts/chequebook/gencode.go
diff options
context:
space:
mode:
authorDaniel A. Nagy <nagy.da@gmail.com>2016-08-30 21:53:14 +0800
committerDaniel A. Nagy <nagy.da@gmail.com>2016-08-31 00:16:49 +0800
commit7b884e0075cba9033dadf2d8ed0bf092193d2ae5 (patch)
treeab96c3063cd8f9a9bc9d88646dcb1a74554e8717 /contracts/chequebook/gencode.go
parent3e7b4ae0c3fda9d71bcae4274b0af4b075977b8b (diff)
downloadgo-tangerine-7b884e0075cba9033dadf2d8ed0bf092193d2ae5.tar.gz
go-tangerine-7b884e0075cba9033dadf2d8ed0bf092193d2ae5.tar.zst
go-tangerine-7b884e0075cba9033dadf2d8ed0bf092193d2ae5.zip
contracts/chequebook/contract: fix possible reentrancy bug in chequebook.sol
Diffstat (limited to 'contracts/chequebook/gencode.go')
-rw-r--r--contracts/chequebook/gencode.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/contracts/chequebook/gencode.go b/contracts/chequebook/gencode.go
index f52c351e4..faa927279 100644
--- a/contracts/chequebook/gencode.go
+++ b/contracts/chequebook/gencode.go
@@ -59,9 +59,7 @@ func main() {
}
// Write the output file.
- content := fmt.Sprintf(`// TODO: insert license header
-
-package contract
+ content := fmt.Sprintf(`package contract
// ContractDeployedCode is used to detect suicides. This constant needs to be
// updated when the contract code is changed.