diff --git a/wsapi/wsapi.go b/wsapi/wsapi.go index 429a00e..1ca52a0 100644 --- a/wsapi/wsapi.go +++ b/wsapi/wsapi.go @@ -1571,6 +1571,7 @@ func factoidTxToTransaction(t interfaces.ITransaction) ( if r.TotalInputs <= r.TotalOutputs+r.TotalECOutputs { r.FeesPaid = 0 + r.FeesRequired = feesRequired(t) } else { r.FeesPaid = r.TotalInputs - (r.TotalOutputs + r.TotalECOutputs) }