account-statement #126
Reference in New Issue
Block a user
Delete Branch "account-statement"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
WIP: account-statementto account-statementaccount-statementto WIP: account-statementWIP: account-statementto account-statement@@ -0,0 +57,4 @@// GetTransferData retrieves and matches transfer data// returns a formatted string of the full transaction/statementfunc GetTransferData(ctx context.Context, db storage.PrefixDb, publicKey string, index int) (string, error) {keys := []string{"txfrom", "txto", "txval", "txaddr", "txhash", "txdate", "txsym"}made an issue to be addressed later, regarding key lengths.
#180
This is well noted and will be addressed
@@ -0,0 +110,4 @@// Helper function to format date in desired outputfunc formatDate(dateStr string) string {parsedDate, err := time.Parse("2006-01-02 15:04:05 -0700 MST", dateStr)this is hardcoded..?
Yes it is. This defines the layout that will be used to parse the dateStr
func time.Parse(layout string, value string)
@@ -1636,0 +1772,4 @@flag_incorrect_statement, _ := h.flagManager.GetFlag("flag_incorrect_statement")inputStr := string(input)if inputStr == "0" || inputStr == "99" || inputStr == "11" || inputStr == "22" {Here we are back to checking menu selectors in the handler code. What functionality is missing to be able to avoid this?
We can discuss this in the meeting, on how to use the lateral navigation indicator as this just prevents the navigation input from being processed