node1 will sometimes do sendtoaddress before it has received a funding transaction which will cause the test to fail. sync_all to ensure it gets the transaction first.
Co-authored-by: Andrew Chow <achow101-github@achow101.com>