lib/zold/commands/push.rb in zold-0.16.12 vs lib/zold/commands/push.rb in zold-0.16.13

- old
+ new

@@ -93,19 +93,19 @@ end uri = "/wallet/#{id}" response = r.http(uri).put(content) @wallets.find(id) do |wallet| if response.code == '304' - @log.info("#{r}: same version of #{wallet.memo} there, in #{Age.new(start, limit: 0.5)}") + @log.info("#{r}: same version of #{wallet.mnemo} there, in #{Age.new(start, limit: 0.5)}") return 0 end r.assert_code(200, response) json = JsonPage.new(response.body, uri).to_hash score = Score.parse_json(json['score']) r.assert_valid_score(score) r.assert_score_ownership(score) r.assert_score_strength(score) unless opts['ignore-score-weakness'] - @log.info("#{r} accepted #{wallet.memo} in #{Age.new(start, limit: 4)}: \ + @log.info("#{r} accepted #{wallet.mnemo} in #{Age.new(start, limit: 4)}: \ #{Rainbow(score.value).green} (#{json['version']})") score.value end end end