Categories
Bitcoin Cryptocurrency Development

Regtest createmultisig Error: Invalid public Key?

As shown below, I generated 3 new addresses (Legacy I believe) in RegTest. I then try to create a multsig address from exactly these 3 addresses. What am I doing wrong, or is this unavailable in Regtest? ”’$ bitcoin-cli getnewaddress 2NFjbToRhpR2Lrx3VyP8rZ86XhZhofqWHBk $ bitcoin-cli getnewaddress 2NAqXJMEFzEbhNyy9xRiHHcwWNCyFddFfXH $ bitcoin-cli getnewaddress 2NEyDQfb85jRExQUnj4wC7fkFh5T1rt5zFk $ bitcoin-cli createmultisig 2 “[\”2NFjbToRhpR2Lrx3VyP8rZ86XhZhofqWHBk\”, \”2NAqXJMEFzEbhNyy9xRiHHcwWNCyFddFfXH\”,\”2NEyDQfb85jRExQUnj4wC7fkFh5T1rt5zFk\”]” […]