You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the SwapResult grpc message includes amountReceived and amountSent but no indication of what currency was received and which was sent. Previously it would have been possible to determine this based on pairId and whether the quantity was negative (sell) or positive (buy), but since we changed how that worked to make quantity always positive, it's not possible without looking up the order. I suggest adding currencyReceived and currencySent to make it clear exactly which currencies changed hands.
The text was updated successfully, but these errors were encountered:
This adds `currency_received` and `currency_sent` to the gRPC
`SwapResult` message. Without these fields, it is not possible to tell
from the swap result alone which currency was send or received by either
party.
Closes#670.
This adds `currency_received` and `currency_sent` to the gRPC
`SwapResult` message. Without these fields, it is not possible to tell
from the swap result alone which currency was send or received by either
party.
Closes#670.
Currently the
SwapResult
grpc message includesamountReceived
andamountSent
but no indication of what currency was received and which was sent. Previously it would have been possible to determine this based onpairId
and whether the quantity was negative (sell) or positive (buy), but since we changed how that worked to makequantity
always positive, it's not possible without looking up the order. I suggest addingcurrencyReceived
andcurrencySent
to make it clear exactly which currencies changed hands.The text was updated successfully, but these errors were encountered: