diff options
author | Felix Lange <fjl@users.noreply.github.com> | 2017-03-22 08:36:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-22 08:36:22 +0800 |
commit | 06d6685eb58f6cb0eda4d7adc8ae91e5cdb88462 (patch) | |
tree | d764690055f2ee7d880bcce2e413a3665fc1e7e9 /internal | |
parent | 1dfd65f6d047407585845dfe9be2ff52a8b9f3ab (diff) | |
parent | 8cf08e4b25c4cd0e0955598342394f34feecca0c (diff) | |
download | go-tangerine-06d6685eb58f6cb0eda4d7adc8ae91e5cdb88462.tar.gz go-tangerine-06d6685eb58f6cb0eda4d7adc8ae91e5cdb88462.tar.zst go-tangerine-06d6685eb58f6cb0eda4d7adc8ae91e5cdb88462.zip |
Merge pull request #3756 from fjl/core-types-gencodec
core/types: use gencodec for JSON marshaling code
Diffstat (limited to 'internal')
-rw-r--r-- | internal/jsre/deps/bindata.go | 4 | ||||
-rw-r--r-- | internal/jsre/deps/deps.go | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/internal/jsre/deps/bindata.go b/internal/jsre/deps/bindata.go index 5f6a2b873..782d4df80 100644 --- a/internal/jsre/deps/bindata.go +++ b/internal/jsre/deps/bindata.go @@ -84,7 +84,7 @@ func bignumberJs() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "bignumber.js", size: 17314, mode: os.FileMode(420), modTime: time.Unix(1484232218, 0)} + info := bindataFileInfo{name: "bignumber.js", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -104,7 +104,7 @@ func web3Js() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "web3.js", size: 491740, mode: os.FileMode(420), modTime: time.Unix(1484232456, 0)} + info := bindataFileInfo{name: "web3.js", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/internal/jsre/deps/deps.go b/internal/jsre/deps/deps.go index 8d0e1a400..fe2e6f2fa 100644 --- a/internal/jsre/deps/deps.go +++ b/internal/jsre/deps/deps.go @@ -17,4 +17,5 @@ // Package deps contains the console JavaScript dependencies Go embedded. package deps -//go:generate go-bindata -o bindata.go bignumber.js web3.js +//go:generate go-bindata -nometadata -pkg deps -o bindata.go bignumber.js web3.js +//go:generate gofmt -w -s bindata.go |