fetch the DATA_RECIPIENT_INPUT instead of temporary value
This commit is contained in:
parent
836ea3ce9d
commit
8d259683a1
@ -13,7 +13,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type TransactionData struct {
|
type TransactionData struct {
|
||||||
TemporaryValue string
|
RecipientInput string
|
||||||
ActiveSym string
|
ActiveSym string
|
||||||
Amount string
|
Amount string
|
||||||
PublicKey string
|
PublicKey string
|
||||||
@ -77,7 +77,7 @@ func ParseAndScaleAmount(storedAmount, activeDecimal string) (string, error) {
|
|||||||
func ReadTransactionData(ctx context.Context, store DataStore, sessionId string) (TransactionData, error) {
|
func ReadTransactionData(ctx context.Context, store DataStore, sessionId string) (TransactionData, error) {
|
||||||
data := TransactionData{}
|
data := TransactionData{}
|
||||||
fieldToKey := map[string]storedb.DataTyp{
|
fieldToKey := map[string]storedb.DataTyp{
|
||||||
"TemporaryValue": storedb.DATA_TEMPORARY_VALUE,
|
"RecipientInput": storedb.DATA_RECIPIENT_INPUT,
|
||||||
"ActiveSym": storedb.DATA_ACTIVE_SYM,
|
"ActiveSym": storedb.DATA_ACTIVE_SYM,
|
||||||
"Amount": storedb.DATA_AMOUNT,
|
"Amount": storedb.DATA_AMOUNT,
|
||||||
"PublicKey": storedb.DATA_PUBLIC_KEY,
|
"PublicKey": storedb.DATA_PUBLIC_KEY,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user