kin-sdk-python icon indicating copy to clipboard operation
kin-sdk-python copied to clipboard

Allow raw TX memos to be specified by the user

Open geebee opened this issue 5 years ago • 1 comments

Modified the create_account and send_kin methods (and their underlying builders) to accept a new parameter raw_memo (whose default is False, so the original behavior remains the default behavior).

If raw_memo is True, the memo_text specified by the user is used verbatim in the transaction memo instead of using the MEMO_TEMPLATE via the build_memo method.

geebee avatar Dec 19 '19 16:12 geebee

Codecov Report

Merging #96 into v2-master will decrease coverage by 0.17%. The diff coverage is 75%.

Impacted file tree graph

@@              Coverage Diff              @@
##           v2-master      #96      +/-   ##
=============================================
- Coverage      84.99%   84.81%   -0.18%     
=============================================
  Files             15       15              
  Lines            793      797       +4     
  Branches          88       90       +2     
=============================================
+ Hits             674      676       +2     
  Misses            99       99              
- Partials          20       22       +2
Impacted Files Coverage Δ
kin/account.py 83.33% <75%> (-1.22%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5ddacab...bfc48ca. Read the comment docs.

codecov[bot] avatar Dec 19 '19 16:12 codecov[bot]