@@ -3468,7 +3468,7 @@ func (i *jsonAPIHandler) GETEstimateFee(w http.ResponseWriter, r *http.Request)
3468
3468
var feeLevel wallet.FeeLevel
3469
3469
switch strings .ToUpper (fl ) {
3470
3470
case "PRIORITY" :
3471
- feeLevel = wallet .PRIORITY
3471
+ feeLevel = wallet .PRIOIRTY
3472
3472
case "NORMAL" :
3473
3473
feeLevel = wallet .NORMAL
3474
3474
case "ECONOMIC" :
@@ -3526,7 +3526,7 @@ func (i *jsonAPIHandler) GETFees(w http.ResponseWriter, r *http.Request) {
3526
3526
if coinType == "fees" {
3527
3527
ret := make (map [string ]interface {})
3528
3528
for ct , wal := range i .node .Multiwallet {
3529
- priority := wal .GetFeePerByte (wallet .PRIORITY )
3529
+ priority := wal .GetFeePerByte (wallet .PRIOIRTY )
3530
3530
normal := wal .GetFeePerByte (wallet .NORMAL )
3531
3531
economic := wal .GetFeePerByte (wallet .ECONOMIC )
3532
3532
superEconomic := wal .GetFeePerByte (wallet .SUPER_ECONOMIC )
@@ -3555,7 +3555,7 @@ func (i *jsonAPIHandler) GETFees(w http.ResponseWriter, r *http.Request) {
3555
3555
ErrorResponse (w , http .StatusBadRequest , "Unknown wallet type" )
3556
3556
return
3557
3557
}
3558
- priority := wal .GetFeePerByte (wallet .PRIORITY )
3558
+ priority := wal .GetFeePerByte (wallet .PRIOIRTY )
3559
3559
normal := wal .GetFeePerByte (wallet .NORMAL )
3560
3560
economic := wal .GetFeePerByte (wallet .ECONOMIC )
3561
3561
superEconomic := wal .GetFeePerByte (wallet .SUPER_ECONOMIC )
@@ -3947,7 +3947,7 @@ func (i *jsonAPIHandler) GETWalletStatus(w http.ResponseWriter, r *http.Request)
3947
3947
ret := make (map [string ]interface {})
3948
3948
for ct , wal := range i .node .Multiwallet {
3949
3949
height , hash := wal .ChainTip ()
3950
- ret [ct .CurrencyCode ()] = status {height , hash . String () }
3950
+ ret [ct .CurrencyCode ()] = status {height , hash }
3951
3951
}
3952
3952
out , err := json .MarshalIndent (ret , "" , " " )
3953
3953
if err != nil {
@@ -3963,7 +3963,7 @@ func (i *jsonAPIHandler) GETWalletStatus(w http.ResponseWriter, r *http.Request)
3963
3963
return
3964
3964
}
3965
3965
height , hash := wal .ChainTip ()
3966
- st := status {height , hash . String () }
3966
+ st := status {height , hash }
3967
3967
out , err := json .MarshalIndent (st , "" , " " )
3968
3968
if err != nil {
3969
3969
ErrorResponse (w , http .StatusInternalServerError , err .Error ())
0 commit comments