Skip to content

Commit

Permalink
Sum of utxo in bkfee
Browse files Browse the repository at this point in the history
  • Loading branch information
bpfaff committed Sep 4, 2018
1 parent dd50bd4 commit 4cb03c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/UtilFuncs.R
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ txfee <- function(con, txid){
bkfee <- function(con, height){
height <- as.integer(abs(height))
cb <- txids(con, height, excoinbase = FALSE)[1]
mtot <- utxovalue(con, cb)
mtot <- sum(utxovalue(con, cb))
hf <- ceiling(height / 209999) - 1
hf <- 2 ^ hf
mrwd <- 50 / hf
Expand Down

0 comments on commit 4cb03c4

Please sign in to comment.