wtwire/create_session: add RewardBase field to CreateSession

This commit is contained in:
Conner Fromknecht committed 2019-01-31 18:17:35 -08:00
1 parent 26f4131102
commit 46a86a863a
2 files changed
+11 -3

No files matched your search

+3 -2
View File
@@ -11,8 +11,9 @@ func MessageSummary(msg Message) string {
case *CreateSession:
return fmt.Sprintf("blob_type=%s, max_updates=%d "+
"reward_rate=%d sweep_fee_rate=%d", msg.BlobType,
msg.MaxUpdates, msg.RewardRate, msg.SweepFeeRate)
"reward_base=%d reward_rate=%d sweep_fee_rate=%d",
msg.BlobType, msg.MaxUpdates, msg.RewardBase,
msg.RewardRate, msg.SweepFeeRate)
case *CreateSessionReply:
return fmt.Sprintf("code=%d", msg.Code)