Skip to content

Commit

Permalink
Add .ToCoin() to GetWalletFee return val to be consistent (#172)
Browse files Browse the repository at this point in the history
Fixes #171
  • Loading branch information
alexlyp authored and jcvernaleo committed Apr 11, 2016
1 parent a4b8c49 commit bce92a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/legacyrpc/methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -1761,7 +1761,7 @@ func GetTransaction(icmd interface{}, w *wallet.Wallet) (interface{}, error) {

// GetWalletFee returns the currently set tx fee for the requested wallet
func GetWalletFee(icmd interface{}, w *wallet.Wallet) (interface{}, error) {
return w.RelayFee(), nil
return w.RelayFee().ToCoin(), nil
}

// These generators create the following global variables in this package:
Expand Down

0 comments on commit bce92a7

Please sign in to comment.