Skip to content

Commit

Permalink
Merge pull request #38 from BitcoinHackathon/issues23
Browse files Browse the repository at this point in the history
Appdelegateの変更
  • Loading branch information
unochanel authored Aug 19, 2018
2 parents 1d04baf + 06e9569 commit 6f58866
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions SimpleWallet/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
}

private func setup() {
let post = Post(choices: [Post.Choice(description: "選択肢1", address: "addr1", pubKey: PrivateKey().publicKey()),
Post.Choice(description: "選択肢2", address: "addr2", pubKey: PrivateKey().publicKey()),
Post.Choice(description: "選択肢3", address: "addr3", pubKey: PrivateKey().publicKey())],
userName: "ゆーざ名",
let post = Post(choices: [Post.Choice(description: "ビット子", address: "addr1", pubKey: PrivateKey().publicKey()),
Post.Choice(description: "イーサ子", address: "addr2", pubKey: PrivateKey().publicKey()),
Post.Choice(description: "リップルン", address: "addr3", pubKey: PrivateKey().publicKey())],
userName: "立命館大学ミスコン",
createdAt: Date(),
description: "ですくり",
description: "今年のミス立命館を決めます",
deadline: Date().addingTimeInterval(2000),
voteCount: 0)
PostManager.shared.append(post)
Expand Down

0 comments on commit 6f58866

Please sign in to comment.