GithubHelp home page GithubHelp logo

Comments (4)

hkrugersa avatar hkrugersa commented on July 22, 2024 1

Updated code can be viewed at https://github.com/metamarcdw/nowallet/compare/master...hkrugersa:master?diff=unified

from nowallet.

hkrugersa avatar hkrugersa commented on July 22, 2024 1

Thanks @metamarcdw

I've submitted the pull request, please let me know if you have any further questions.

Congrats on landing the new job and best of luck with the move!

from nowallet.

hkrugersa avatar hkrugersa commented on July 22, 2024

Hi @metamarcdw ,

First time contribution, hopefully first of many :-) I believe that I've found the source of the issue in the _dispatch_result method.

In the method, only the first transaction (i.e. history[0]) received from the get_history RPC call is checked. Hence, only the output to the address is processed and not the subsequent transaction where the funds are spent.

I tested the change on testnet and it seems to be working as can be seen in the screenshot below. You should see that the TxID is included with a height of 0 in the third block of print_loop outputs below it.

image

I've added the for loop and I'm ready to submit the pull request, but in keeping to the guidelines in CONTRIBUTING.md - I just wanted to get the go ahead first and/or discuss any additional changes or corrections that may be required.

from nowallet.

metamarcdw avatar metamarcdw commented on July 22, 2024

This looks good. Thanks a ton for contributing!

I am in the midst of preparing for a cross country move and a new job, so please forgive me for any delays. I am going to try to make some time to test this tomorrow afternoon. Please feel free to submit the PR whenever you like.

Thanks again!

from nowallet.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.