fix-amount-conversion #87
| @ -2529,11 +2529,11 @@ func TestCheckTransactions(t *testing.T) { | |||||||
| 
 | 
 | ||||||
| 	mockTXResponse := []dataserviceapi.Last10TxResponse{ | 	mockTXResponse := []dataserviceapi.Last10TxResponse{ | ||||||
| 		{ | 		{ | ||||||
| 			Sender: "0X13242618721", Recipient: "0x41c188d63Qa", TransferValue: "100", TokenAddress: "0X1324262343rfdGW23", | 			Sender: "0X13242618721", Recipient: "0x41c188d63Qa", TransferValue: "100", ContractAddress: "0X1324262343rfdGW23", | ||||||
| 			TxHash: "0x123wefsf34rf", DateBlock: time.Now(), TokenSymbol: "SRF", TokenDecimals: "6", | 			TxHash: "0x123wefsf34rf", DateBlock: time.Now(), TokenSymbol: "SRF", TokenDecimals: "6", | ||||||
| 		}, | 		}, | ||||||
| 		{ | 		{ | ||||||
| 			Sender: "0x41c188d63Qa", Recipient: "0X13242618721", TransferValue: "200", TokenAddress: "0X1324262343rfdGW23", | 			Sender: "0x41c188d63Qa", Recipient: "0X13242618721", TransferValue: "200", ContractAddress: "0X1324262343rfdGW23", | ||||||
| 			TxHash: "0xq34wresfdb44", DateBlock: time.Now(), TokenSymbol: "SRF", TokenDecimals: "6", | 			TxHash: "0xq34wresfdb44", DateBlock: time.Now(), TokenSymbol: "SRF", TokenDecimals: "6", | ||||||
| 		}, | 		}, | ||||||
| 	} | 	} | ||||||
| @ -2585,11 +2585,11 @@ func TestGetTransactionsList(t *testing.T) { | |||||||
| 
 | 
 | ||||||
| 	mockTXResponse := []dataserviceapi.Last10TxResponse{ | 	mockTXResponse := []dataserviceapi.Last10TxResponse{ | ||||||
| 		{ | 		{ | ||||||
| 			Sender: "0X13242618721", Recipient: "0x41c188d63Qa", TransferValue: "1000", TokenAddress: "0X1324262343rfdGW23", | 			Sender: "0X13242618721", Recipient: "0x41c188d63Qa", TransferValue: "1000", ContractAddress: "0X1324262343rfdGW23", | ||||||
| 			TxHash: "0x123wefsf34rf", DateBlock: dateBlock, TokenSymbol: "SRF", TokenDecimals: "2", | 			TxHash: "0x123wefsf34rf", DateBlock: dateBlock, TokenSymbol: "SRF", TokenDecimals: "2", | ||||||
| 		}, | 		}, | ||||||
| 		{ | 		{ | ||||||
| 			Sender: "0x41c188d63Qa", Recipient: "0X13242618721", TransferValue: "2000", TokenAddress: "0X1324262343rfdGW23", | 			Sender: "0x41c188d63Qa", Recipient: "0X13242618721", TransferValue: "2000", ContractAddress: "0X1324262343rfdGW23", | ||||||
| 			TxHash: "0xq34wresfdb44", DateBlock: dateBlock, TokenSymbol: "SRF", TokenDecimals: "2", | 			TxHash: "0xq34wresfdb44", DateBlock: dateBlock, TokenSymbol: "SRF", TokenDecimals: "2", | ||||||
| 		}, | 		}, | ||||||
| 	} | 	} | ||||||
| @ -2654,11 +2654,11 @@ func TestViewTransactionStatement(t *testing.T) { | |||||||
| 
 | 
 | ||||||
| 	mockTXResponse := []dataserviceapi.Last10TxResponse{ | 	mockTXResponse := []dataserviceapi.Last10TxResponse{ | ||||||
| 		{ | 		{ | ||||||
| 			Sender: "0X13242618721", Recipient: "0x41c188d63Qa", TransferValue: "1000", TokenAddress: "0X1324262343rfdGW23", | 			Sender: "0X13242618721", Recipient: "0x41c188d63Qa", TransferValue: "1000", ContractAddress: "0X1324262343rfdGW23", | ||||||
| 			TxHash: "0x123wefsf34rf", DateBlock: dateBlock, TokenSymbol: "SRF", TokenDecimals: "2", | 			TxHash: "0x123wefsf34rf", DateBlock: dateBlock, TokenSymbol: "SRF", TokenDecimals: "2", | ||||||
| 		}, | 		}, | ||||||
| 		{ | 		{ | ||||||
| 			Sender: "0x41c188d63Qa", Recipient: "0X13242618721", TransferValue: "2000", TokenAddress: "0X1324262343rfdGW23", | 			Sender: "0x41c188d63Qa", Recipient: "0X13242618721", TransferValue: "2000", ContractAddress: "0X1324262343rfdGW23", | ||||||
| 			TxHash: "0xq34wresfdb44", DateBlock: dateBlock, TokenSymbol: "SRF", TokenDecimals: "2", | 			TxHash: "0xq34wresfdb44", DateBlock: dateBlock, TokenSymbol: "SRF", TokenDecimals: "2", | ||||||
| 		}, | 		}, | ||||||
| 	} | 	} | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user