Skip to content

Commit

Permalink
estimatefee returns float64 instead of string.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Krawisz committed Nov 13, 2017
1 parent 4613750 commit 3814300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpcserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ func handleEstimateFee(s *rpcServer, cmd interface{}, closeChan <-chan struct{})
return -1.0, err
}

return fmt.Sprintf("%.8f", float64(feeRate)), nil
return float64(feeRate), nil
}

// handleGenerate handles generate commands.
Expand Down

0 comments on commit 3814300

Please sign in to comment.