func (lcd *LCD) setAccountSequence(seq uint64) error {
    lcd.accountMutex.Lock()
    defer lcd.accountMutex.Unlock()
    if lcd.acc == nil {
        return fmt.Errorf("lcd.acc should not be nil. use getAccount first")