File Sharing MVP #384

Merged
sarah merged 52 commits from filesharing into master 2021-09-30 00:57:14 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 83bf6559a2 - Show all commits

View File

@ -185,8 +185,8 @@ func (ta *TokenBoardClient) MakePayment() error {
if connected == true && err == nil {
conn, err := client.WaitForCapabilityOrClose(ta.tokenServiceOnion, applications.HasTokensCapability)
if err == nil {
powtapp, ok := conn.App().(*applications.TokenApplication)
if ok {
powtapp := conn.App().(*applications.TokenApplication)
if powtapp != nil {
// Update tokens...we need a lock here to prevent SpendToken from modifying the tokens
// during this process..
log.Debugf("Transcript: %v", powtapp.Transcript().OutputTranscriptToAudit())