Skip to content

Commit

Permalink
fix: remove ScheduleTransactionBody type
Browse files Browse the repository at this point in the history
  • Loading branch information
janaakhterov committed Apr 9, 2021
1 parent c0d1630 commit 951b318
Show file tree
Hide file tree
Showing 6 changed files with 260 additions and 417 deletions.
4 changes: 2 additions & 2 deletions examples/schedule_multisig_transaction/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ func main() {
println(err.Error(), ": error retrieving schedule info after signing")
return
}
if !info.Executed.IsZero() {
println("Singing success, signed at: ", info.Executed.String())
if !info.ExecutedAt.IsZero() {
println("Singing success, signed at: ", info.ExecutedAt.String())
println("Signatories: ", info.Signers.String())
return
}
Expand Down
6 changes: 3 additions & 3 deletions examples/transfer_tokens/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ func main() {
return
}

fmt.Printf("Deleted token %v\n", tokenID.String())
fmt.Printf("DeletedAt token %v\n", tokenID.String())

accountDeleteTx, err := hedera.NewAccountDeleteTransaction().
SetAccountID(accountID1).
Expand All @@ -360,7 +360,7 @@ func main() {
return
}

fmt.Printf("Deleted account %v\n", accountID1.String())
fmt.Printf("DeletedAt account %v\n", accountID1.String())

accountDeleteTx, err = hedera.NewAccountDeleteTransaction().
SetAccountID(accountID2).
Expand All @@ -386,5 +386,5 @@ func main() {
return
}

fmt.Printf("Deleted account %v\n", accountID2.String())
fmt.Printf("DeletedAt account %v\n", accountID2.String())
}
4 changes: 2 additions & 2 deletions proto/ConsensusService.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

317 changes: 0 additions & 317 deletions schedulable_transaction_body.go

This file was deleted.

Loading

0 comments on commit 951b318

Please sign in to comment.