updated the data keys on the test to match the retrieved data
This commit is contained in:
parent
f6c613abd6
commit
6bc9247acb
@ -221,7 +221,7 @@ func TestReadTransactionData(t *testing.T) {
|
|||||||
|
|
||||||
// Test transaction data
|
// Test transaction data
|
||||||
transactionData := map[storedb.DataTyp]string{
|
transactionData := map[storedb.DataTyp]string{
|
||||||
storedb.DATA_TEMPORARY_VALUE: "0712345678",
|
storedb.DATA_RECIPIENT_INPUT: "0712345678",
|
||||||
storedb.DATA_ACTIVE_SYM: "SRF",
|
storedb.DATA_ACTIVE_SYM: "SRF",
|
||||||
storedb.DATA_AMOUNT: "1000000",
|
storedb.DATA_AMOUNT: "1000000",
|
||||||
storedb.DATA_PUBLIC_KEY: publicKey,
|
storedb.DATA_PUBLIC_KEY: publicKey,
|
||||||
@ -238,7 +238,7 @@ func TestReadTransactionData(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
expectedResult := TransactionData{
|
expectedResult := TransactionData{
|
||||||
TemporaryValue: "0712345678",
|
RecipientInput: "0712345678",
|
||||||
ActiveSym: "SRF",
|
ActiveSym: "SRF",
|
||||||
Amount: "1000000",
|
Amount: "1000000",
|
||||||
PublicKey: publicKey,
|
PublicKey: publicKey,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user