include the ActiveSwapToDecimal on the SwapData
This commit is contained in:
parent
277e4e179d
commit
99893eac5c
@ -18,6 +18,7 @@ type SwapData struct {
|
|||||||
ActiveSwapFromAddress string
|
ActiveSwapFromAddress string
|
||||||
ActiveSwapToSym string
|
ActiveSwapToSym string
|
||||||
ActiveSwapToAddress string
|
ActiveSwapToAddress string
|
||||||
|
ActiveSwapToDecimal string
|
||||||
}
|
}
|
||||||
|
|
||||||
type SwapPreviewData struct {
|
type SwapPreviewData struct {
|
||||||
@ -43,6 +44,7 @@ func ReadSwapData(ctx context.Context, store DataStore, sessionId string) (SwapD
|
|||||||
"ActiveSwapFromAddress": storedb.DATA_ACTIVE_ADDRESS,
|
"ActiveSwapFromAddress": storedb.DATA_ACTIVE_ADDRESS,
|
||||||
"ActiveSwapToSym": storedb.DATA_ACTIVE_SWAP_TO_SYM,
|
"ActiveSwapToSym": storedb.DATA_ACTIVE_SWAP_TO_SYM,
|
||||||
"ActiveSwapToAddress": storedb.DATA_ACTIVE_SWAP_TO_ADDRESS,
|
"ActiveSwapToAddress": storedb.DATA_ACTIVE_SWAP_TO_ADDRESS,
|
||||||
|
"ActiveSwapToDecimal": storedb.DATA_ACTIVE_SWAP_TO_DECIMAL,
|
||||||
}
|
}
|
||||||
|
|
||||||
v := reflect.ValueOf(&data).Elem()
|
v := reflect.ValueOf(&data).Elem()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user