removed deprecation warnings #71

Merged
tech merged 2 commits from deprecation-70 into main 2025-12-11 10:23:12 +00:00
Showing only changes of commit 8db2f3926c - Show all commits

View File

@@ -3,7 +3,6 @@ package oracle
import (
"math/big"
"strings"
"time"
"github.com/tech/sendico/fx/storage/model"
"github.com/tech/sendico/pkg/decimal"
@@ -61,7 +60,3 @@ func priceFromRate(rate *model.RateSnapshot, side fxv1.Side) (*big.Rat, error) {
return ratFromString(priceStr)
}
func timeFromUnixMilli(ms int64) time.Time {
return time.Unix(0, ms*int64(time.Millisecond))
}