Skip to content

Commit

Permalink
Moved SignerSummary to its own file
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Jan 22, 2020
1 parent d53c0b7 commit 0a9dbc8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions txnbuild/signer_summary.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package txnbuild

// SignerSummary is a map of signers to their weights.
type SignerSummary map[string]int32
3 changes: 0 additions & 3 deletions txnbuild/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -492,9 +492,6 @@ func ReadChallengeTx(challengeTx, serverAccountID, network string) (tx Transacti
return tx, clientAccountID, nil
}

// SignerSummary is a map of signers to their weights.
type SignerSummary map[string]int32

// VerifyChallengeTxThreshold verifies that for a SEP 10 challenge transaction
// all signatures on the transaction are accounted for and that the signatures
// meet a threshold on an account. A transaction is verified if it is signed by
Expand Down

0 comments on commit 0a9dbc8

Please sign in to comment.