diff options
| author | Gavin Andresen <[email protected]> | 2014-04-10 14:14:18 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2014-06-06 10:34:18 -0400 |
| commit | c6cb21d17ab8097b6a425d37e48c955fbb0e9f0c (patch) | |
| tree | 297b740beca0274be8a85d8c355acecafecbbc3e /src/rpcnet.cpp | |
| parent | Merge pull request #4297 (diff) | |
| download | discoin-c6cb21d17ab8097b6a425d37e48c955fbb0e9f0c.tar.xz discoin-c6cb21d17ab8097b6a425d37e48c955fbb0e9f0c.zip | |
Type-safe CFeeRate class
Use CFeeRate instead of an int64_t for quantities that are
fee-per-size.
Helps prevent unit-conversion mismatches between the wallet,
relaying, and mining code.
Diffstat (limited to 'src/rpcnet.cpp')
| -rw-r--r-- | src/rpcnet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcnet.cpp b/src/rpcnet.cpp index 63eed09b6..0eca55a47 100644 --- a/src/rpcnet.cpp +++ b/src/rpcnet.cpp @@ -368,7 +368,7 @@ Value getnetworkinfo(const Array& params, bool fHelp) obj.push_back(Pair("timeoffset", GetTimeOffset())); obj.push_back(Pair("connections", (int)vNodes.size())); obj.push_back(Pair("proxy", (proxy.first.IsValid() ? proxy.first.ToStringIPPort() : string()))); - obj.push_back(Pair("relayfee", ValueFromAmount(CTransaction::nMinRelayTxFee))); + obj.push_back(Pair("relayfee", ValueFromAmount(CTransaction::minRelayTxFee.GetFeePerK()))); Array localAddresses; { LOCK(cs_mapLocalHost); |