diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-04-02 21:13:30 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-04-02 21:13:30 +0800 |
commit | 607fc788e378c62ceea72dbc536da0b484323a44 (patch) | |
tree | 7960e9677c2d27e481d5eadece80769c9a80bfbd /common | |
parent | 1e28b424e7f0f0d16f467ac7bac08b9dc0384106 (diff) | |
parent | b4eef59b6f9631d22fdf62a2b1a40fe05209fccd (diff) | |
download | dexon-607fc788e378c62ceea72dbc536da0b484323a44.tar dexon-607fc788e378c62ceea72dbc536da0b484323a44.tar.gz dexon-607fc788e378c62ceea72dbc536da0b484323a44.tar.bz2 dexon-607fc788e378c62ceea72dbc536da0b484323a44.tar.lz dexon-607fc788e378c62ceea72dbc536da0b484323a44.tar.xz dexon-607fc788e378c62ceea72dbc536da0b484323a44.tar.zst dexon-607fc788e378c62ceea72dbc536da0b484323a44.zip |
Merge pull request #619 from tgerring/rpcfabian
RPC Fabian fixes
Diffstat (limited to 'common')
-rw-r--r-- | common/size.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/size.go b/common/size.go index b5c0b0b3f..0d9dbf558 100644 --- a/common/size.go +++ b/common/size.go @@ -17,6 +17,10 @@ func (self StorageSize) String() string { } } +func (self StorageSize) Int64() int64 { + return int64(self) +} + // The different number of units var ( Douglas = BigPow(10, 42) |